Re: [users@httpd] Dynamic proxying with mod_rewrite, problems with reverse proxy

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

 



Atle Veka wrote:
Hi, I have run into a snag with mod_rewrite and proxying. I want to
have a RewriteRule that proxies a dynamic site (based on a map) which
works fine except that I need reverse proxying turned on. So far I have
not been able to come up with a solution. Any ideas, other than specifying
ProxyPassReverse directives (which if I have to do that I might as well
just use mod_proxy and ditch the dynamic part)?

Problems arise when the backend server sends a 301 redirect, causing the
browser to attempt to bypass the proxy as mod_rewrite isn't modifying the
301.

That's exactly the job of ProxyPassReverse, mod_rewrite cannot adjust things in the HTTP-Response, it acts only in HTTP-Request. I don't think that there is an other way...

--
Robert


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