httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spil Oss" <spil....@googlemail.com>
Subject Re: [users@httpd] mod_proxy and mod_headers
Date Mon, 18 Sep 2006 12:21:45 GMT
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@slive.ca> wrote:
> On 9/15/06, Spil Oss <spil.oss@googlemail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message