What's the best way to redirect a Tomcat 404 URL with Apache as front-end?
问题 I have Apache 2.4 forwarding *:80 traffic to my sole Tomcat 7.0 webapp (Guacamole) like so: ProxyPreserveHost On ProxyRequests off ProxyPass / http://localhost:8080/guacamole/ ProxyPassReverse / http:/localhost:8080/guacamole/ ProxyPassReverseCookiePath / http://localhost:8080/guacamole This works, except when I log out of the webapp, I get the following 404 as reported by Tomcat: HTTP Status 404 - /guacamole/guacamole/index.xhtml From what I've read I've got several options, including using