I have been using proxy pass in the simplest of cases to send URLs to a tomcat backend without an issue:
#Tomcat ajp connection for isbn's ProxyPass / ajp://162.243.220.88:8009/ Now I am trying to integrate the tomcat app with an apache virtual host and am having a troubling time. I am able to separate some URLs between the two application by forwarding just specific directories to the tomcat server. The following works as expected with the below directories being answered by tomcat and all others being answered by the apache virtual host. ProxyPass /isbn ajp://162.243.220.88:8009/isbn ProxyPass /images ajp://162.243.220.88:8009/images ProxyPass /skins ajp://162.243.220.88:8009/skins ProxyPass /assets ajp://162.243.220.88:8009/assets ProxyPass /javascript ajp://162.243.220.88:8009/javascript ProxyPass /admin ajp://162.243.220.88:8009/admin ProxyPass /secure ajp://162.243.220.88:8009/secure ProxyPass /pages ajp://162.243.220.88:8009/pages But I am having trouble proxying base URL locations in the below instance. I get an apache httpd 404 error instead of the request being relayed to the tomcat server ProxyPass /AccountLogin.jdmx ajp://162.243.220.88:8009/AccountLogin.jmdx ProxyPassReverse /AccountLogin.jdmx ajp://162.243.220.88:8009/AccountLogin.jmdx So I wanted to just by default send requests to tomcat and exclude a few of the apache virtual directory directories but strangely htiting my site at the /category URL in this setup does not go to the apache virtual host but gets answered with a 404 by tomcat #Tomcat ajp connection for isbn's ProxyPass /category ! ProxyPass / ajp://162.243.220.88:8009/ I'm pretty confused on how to debug this since it only works in the most basic of circumstances. Clearly I am doing something completely wrong. Server version: Apache/2.2.22 (Ubuntu)