Re: Reverse-Proxy und Redirect

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

 



On Wed, Sep 14, 2011 at 12:00 PM,  <Christian.Kaiser@xxxxxx> 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-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