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

To change the owenership of any folder for domain user !!

How to set Worker Properties in Apache2