On Wed, Sep 14, 2011 at 12:00 PM,  <christian.kai...@lew.de> wrote:
> Hello,
>
> yes you are right, I've already corrected this:
>
> ...
>
> ProxyPreserveHost On
>
> <Location /online>
>        ProxyPass https://intern.de/app1
>        ProxyPassReverse https://intern.de/app1
>  </Location>
>
>
> But it doesn't work.
>
> If I call http://extern.de/online, I get as reponse URL http://extern.de/app1 
> shown in my browser.
> Shouldn't it be http://extern.de/online
>

Hard to say - what ProxyPassReverse does is to update Location,
Content-Location and URI headers if they start with the value of the
ProxyPassReverse.

Eg, if a response from intern.de has this header:

Location: https://intern.de/app1/wibble

Then this would be updated to:

Location: <host>/online/wibble

The value for <host> is either the ServerName, or the Host header of
the original request, depending on whether UseCanonicalName is On or
Off.

It will only update those three headers though, it will not update any
HTML, javascript or anything else.


Cheers

Tom

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to