tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff D <>
Subject tomcat6 + proxy issues
Date Wed, 01 Oct 2008 21:47:31 GMT
Hi All,

I'm having some issues with some apps I am running on my server. I'm
running multiple apps in tomcat and serving up each of them through
apache with mod_proxy.  Most of these are working great, but there are a
few that don't seem to want to co-operate.  I currently have my proxies set
up in this manner:

ProxyPass / http://localhost:8080/app1/
ProxyPassReverse / http://localhost:8080/app1/

The problem seems to happen during POSTs , it seems to put /app1/ into the
POST. For example, if I go to http://app1host/login , the post to the
login becomes http://app1host/app1/login .  If I do the same on
http://localhost:8080/app1/login , all works fine.

I've also tried adding to the server.xml:
<Connector port="8081" proxyPort="80" proxyName="app1host" />

But, that ends up sending me in redirect loops.

Anyone have any idea on how to solve this?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message