How to write ProxyPassMatches for Apache Vhost

    ProxyPassMatch ^/manager(.*)$ ajp://localhost:8009/manager/$1
    ProxyPassMatch ^/tomcat(.*)$ ajp://localhost:8009/tomcat/$1
    ProxyPassMatch ^/host-manager(.*)$ ajp://localhost:8009/host-manager/$1



8009 Is your Ajp Port of Current Tomcat

#Arvind


Conclusion ---
after write this above line inside your apache .conf (Vhost) file your tomcat able to integrate with apache. You can access your tomcat by typing http://localhost/tomcat on your any browser.

For Integration of apache2 and Tomcat

Popular posts from this blog

Remote Desktop Sharing Dconf Tool in Linux (Ubuntu 14.04)

PawwordLess SSH Login (Ubuntu 14.04)

Set Manually IP Address (Ubuntu 14.04) Desktop env.