tomcat

Tomcat And Mod Proxy

Stephen
I was asked today to setup a server that will run multiple instances of tomcat, running the same application. That would sit behind a apache server that would forward the requests on the tomcat server. An example is below: http://localhost/tomcat1/appname -> tomcat1 :8180 http://localhost/tomcat2/appname -> tomcat2 :8280 So i added the correct items into my apache config: ProxyPreserveHost On ProxyRequests Off <Location /tomcat1/appname/> ProxyPass http://127.0.0.1:8180 ProxyPassReverse http://127.0.0.1:8180 </Location> <Locatin /tomcat2/appname/> ProxyPass http://127.