On Fri, 11 May 2007 01:10:12 +0200
"moh bad" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I wanted to modify the "Location:" header in 30X http responses using
> apache 2,
> but failed to find a good solution.
> 
> In mod_headers I can unset the header and set a new one, but I can't
> use a regular expression to modify his original value.

Yes you can.  Header edit.  Provided you have an up-to-date version.

But the usual reason for rewriting a Location is in a reverse proxy
situation, where there are better solutions.  As Joshua said, you
need to tell us what you're really doing.


-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to