RE: Help!! mod_rewrite location header cant get correct syntax

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

 



Thanks Joshua. That convinced me to go back and keep trying with the
ProxyPassReverse directive since I wasn't happy with the header unset.  It
works fine after I messed with the syntax a bit. 

Do you know if you can do conditional header directives such as:

If header = foo.bar.com
Unset header


Jeff




-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua Slive
Sent: Monday, July 23, 2007 7:14 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Help!! mod_rewrite location header cant get
correct syntax

On 7/23/07, Jeff Murch <jmurch@xxxxxxx> wrote:
> The source web server is sending it as a redirect and it is redirecting
the
> browser off my reverse proxy to a site that is not available to the
outside
> world. I've headers unset location and set location "were it should go"
but
> I'd like to be able to use a regex with wildcards.

Are you using the ProxyPassReverse directive? It is designed to handle
exactly this situation.

Joshua.

---------------------------------------------------------------------
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



-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.14/912 - Release Date: 7/22/2007
7:02 PM



---------------------------------------------------------------------
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