tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Jain <>
Subject Setting up virtual hosts behind a reverse proxy
Date Thu, 01 Dec 2005 19:03:36 GMT
I have a Tomcat (5.5.12) server that is hidden behind Apache. On the Apache 
server, several virtual hosts are defined.

   ServerName xxxxxxxx.xxxxxxx.xx
   ProxyPass / http://localhost:8080/
   ProxyPassReverse / http://localhost:8080/

Now I'd like to map some of these virtual hosts to virtual hosts on the 
Tomcat server.

Unfortunately this doesn't quite work as Tomcat is unaware of the original 
hostname that was requested (even though this information remains present 
in a X-Forwarded-Host header value).

Any suggestions?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message