On 25 Nov 2007, at 13:01, Johan Compagner wrote:

If you virtual host in apache on a server (local ip 10.0.0.1)
it will rewrite the url and give it to tomcat
Then the request url is really
http://10.0.0.2:8080/myapp1context/XXXXXX

I use Apache as a proxy and have got past this issue by using this directive:

 ProxyPreserveHost On

Stops the host name being rewritten so redirects etc still work correctly.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to