httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Christian.Kai...@LEW.DE>
Subject AW: [users@httpd] Reverse-Proxy und Redirect
Date Wed, 14 Sep 2011 11:00:06 GMT
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




-----Ursprüngliche Nachricht-----
Von: Tom Evans [mailto:tevans.uk@googlemail.com] 
Gesendet: Mittwoch, 14. September 2011 12:43
An: users@httpd.apache.org
Betreff: Re: [users@httpd] Reverse-Proxy und Redirect

On Tue, Sep 13, 2011 at 2:25 PM,  <Christian.Kaiser@lew.de> wrote:
> Hello to all,
>
> I'm trying to set up a APACHE Reverse-Proxy
>
> I've created a vhost with following directives:
>
>
> …
> ProxyRequests Off
>
> <Location /app1>
> ProxyPass http://intern.de/app1
>            ProxyPassReverse http://extern.de

^^^ this should be ProxyPassReverse http://intern.de/app1 for reverse mapping to work correctly.

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