Re: [users@httpd] mod_proxy and mod_headers

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

 



Finally got the setup to work.
For some backends I thought I needed ProxyPreserveHost On.
Investigating further I found a way for the server to construct pages
with absolute URLs to the external server-name.

On 15/09/06, Joshua Slive <joshua@xxxxxxxx> wrote:
On 9/15/06, Spil Oss <spil.oss@xxxxxxxxxxxxxx> wrote:
> The proxy is addressed with https and some of the backends are http.
> For the backends that do correct location headers and serve http,
> ProxyPreserveHost sends the host to the backend with http-protocol,
> the backend returns redirect location:
> http://www.somehost.com/somepath which isn't available by http. Using
> ProxyPassReverse for these locations doesn't work because the location
> does not contain the proxy's address but the external address.

I haven't thought it through completely, but I'd guess you could use
ProxyPassReverse on that, as in
ProxyPassReverse / http://www.somehost.com/
even if somehost.com is the name of the proxy.

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



[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