-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 David,
On 7/8/15 3:12 PM, David Hoffer wrote: > Here is information on how we have Apache configured. Apache is > the virtual host and it redirects to the (war) app deployed in > Tomcat. Note it has the app name in the ProxyPass/ProxyPassReverse > URL. > > Regarding your question on how we deploy the app, I use Tomcat's > Manager app to upload a war file. Note this same Tomcat instance > has several other war apps as well. > > Note at first we thought this was working as it does redirect to > the right app and the correct login page, the problem is when they > click the Login button that's when the 408 error occurs. The 408 > error does not occur if we launch the app via > http://localhost:8080/myapp/. The error only occurs when users use > sub1.mydomain.com which is the only URL that will have access to. > > What are we doing wrong? We are probably missing something > simple...just don't see it. Also I'd be happy to upgrade Tomcat to > a later version if that would help. > > ##Apache: Just a ReverseProxy to the Tomcat app: <VirtualHost > *:80> ServerName sub1.mydomain.com ServerAlias sub1.mydomain.com > > ## ReverseProxy's ProxyRequests Off ProxyPreserveHost Off # Have > tried both on and off <Proxy *> Order deny,allow Allow from all > </Proxy> > > ProxyPass / http://localhost:8080/myapp/ > ProxyPassReverse / http://localhost:8080/myapp/ Changing the context path in ProxyPass(Reverse) is a recipe for many headaches and tears. Is there any way your users could tolerate adding /myapp to the end of their URLs? Or, you could re-name your WAR from myapp.war to ROOT.war and use the root context ("/") instead of /myapp. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVn7/iAAoJEBzwKT+lPKRY56gQAKvTUdxjUii9/a1ypVDT028U 0hhw1Uv/ZxwozzCVVK9LnUhV7ntQKfrttdBjUTR61yer0y1Z/yKm25L+zAL9Ou4s tVHi5/NdheCx1SmG68ZfJTkH6p8n2aQiDOraTwufJMLqM8z7e6XJd9PKDxwxOGU9 2BMEzbr5Lyv7oT+oj3NjhflMEESwcSgwzV46qDvgn0zav7QJgN4fgU4x2pvdQNOk 98oihJE6PA0F427rZ+W0Sb917Ly71FxqCYAwJ3K69S5XN6HIZ7EWrm7Kg+Vd5Y5e vZ3Gjv81ZwlO5mY6u/lO9TPx4yltqNsWg4gelBLYPsj2TWZbD7R0eYZjOV7Nz3Tk rFyowLeLy1F/VZWtv7vDDL7J5RN6rdZ3KQohJMHLwThwcITB9KIADqZQXPp3KWn9 PnxvExKd7Lw0yE/nAIPpNs0FOzZ964XFrn8ltykpI65HeBUzrcPuS+gvJyybUD// u4YVygy8mah6Odwb0yI55IfGblkukD7IxyKYeC+G0LAoaX/+f6VHPXw4/rHqmKl4 60DZxrKsvhzI04ilPNnX9LJ5oIizqqtTVSCj5OVKsqxrsmc0mWwmC6RiqUyWMYD6 0Eiz4okdbBP6+tNoFsr3wBh5yn9gq9zKjRv1XW9qVUGzuV0TN1IEZpK4uECP3KyD 1h3+gMwOdt0Lu8OG3NZq =UpYE -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org