apache as reverse proxy to tomcat -



apache as reverse proxy to tomcat -

i have apache configured reverse proxy tomcat:

proxypass /demo/ ajp://demoserver.local:8009/demo/ proxypassreverse /demo/ ajp://demoserver.local:8009/demo/

works great. cant come in http://webserver.local/demo/ , tomcat app's page.

i need create alter in url: http://webserver.local/demo123/. changed configuration of proxy way:

proxypass /demo123/ ajp://demoserver.local:8009/demo/ proxypassreverse /demo123/ ajp://demoserver.local:8009/demo/

i can't working though. happens tomcat app sends redirect /demo/login.htm , web browser tries fetch url web server. web server fires 404 error since /demo/ not pointing anywhere.

could perchance solve without touching tomcat's app, modifying apache config?

apache tomcat proxy ajp

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -