Hi,

My apache is running on 15.213.91.33:5643 at location "/home/hemant/apache"
and tomcat-8.5.x is running on 15.213.91.33:8009 at location
/home/hemant/tomcat.

To integrate apache with tomcat I used mod_proxy and mod_proxy_ajp.
My httpd.conf looks like this :
<Location /ajp>
ProxyPass "ajp://15.213.91.33:8009"
ProxyPassReverse "ajp://15.213.91.33:8009"
</Location>

My server.xml is configured like :
<Connector port="8009" protocol="AJP/1.3" proxyName="15.213.91.33"
proxyPort="5643" />

When I am accessing "15.213.91.33:5643/ajp" then index.html of tomcat
appears, but If I click on any tab on page  then error 404 occurs because
URL changes to "15.213.91.33:5643/doc" (If I click on doc tab on
index.html). I think to work url should change to "15.213.91.33:5643/ajp/doc
".

Please let me know where my configuration is wrong ?

Thanks
Hemant

Reply via email to