Re: Rewrite "Location:" header.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 11 May 2007 01:10:12 +0200
"moh bad" <mohamed@xxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux