I am trying to use mod_headers
to change Location
headers that are being sent via the mod_alias
using the Redirect
directive but none of them are being re-written. I have the following in my http.conf
;
Header edit Location //example.com //example.com.dev
And within an .htaccess
file I have:
Redirect temp /foo http://example.com/
But the headers are never changed. I can confirm it is loading the module and reading the directives by adding the following just beneath the other directive:
Header set FOOBAR bazbax
And I can see the new header appear.
What do I to do to get this working correctly?