httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nino Saturnino Martinez Vazquez Wael <>
Subject [users@httpd] mod_proxy and preservehosts
Date Sun, 22 Jun 2008 00:22:00 GMT

I am running "multiple" web sites on my server, and I need for the 
backing application(tomcat) to be able to see which domain the user are 
coming from. So I have the below configuration.

It seems that the first request goes well. But every subsequent request 
gets the sub url appended so it looks like this 
"", however it does not seem like 
it's my application since it still generates correct links : 
"". Im not sure it it can be done without 
proxy preserve host? Once I turn it off again it works just fine.

Oh and btw I am using apache 2 on ubuntu(heron) server.

ProxyPreserveHost On
ProxyPass /images
    ProxyPass /

    ProxyPassReverse /
    <Proxy *>
    Order deny,allow
    Allow from all

-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
+45 2936 7684

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message