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

How to install and configure ApacheTomcat and Integrate with apache2 on Linux (Ubuntu 14.04)

Creat Backup of MYSQL (Ubuntu 14.04)