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 Chrom (Ubuntu 14.04)

How to install and configure Apache2 for Webhosting on Linux (Ubuntu 14.04)

Install Node,Angular2 and Sublime 3