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

Setup MySQL on Ubuntu Droplet getting error ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Remote Desktop Sharing Dconf Tool in Linux (Ubuntu 14.04)

Configure Telnet & SSH on Router for Remote access.