Hi

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 "www.mydomain.com/ZeuzWeb-0.1-SNAPSHOT/", however it does not seem like it's my application since it still generates correct links : "www.mydomain.com/?parameters". 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 http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/images
   ProxyPass / http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/

   ProxyPassReverse / http://10.0.0.2:8180/ZeuzWeb-0.1-SNAPSHOT/
   <Proxy *>
   Order deny,allow
   Allow from all
   </Proxy>

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to