>From the looks of it, it seems the backend is trying to construct a redirection taking into account the data you have informed it about the proxy and port it serves, but you are not telling it about the uri-path the proxy is using so it is not taking that into account. Probably you need an additional ProxyPassReverse kind of like: ProxyPassReverse / http://15.213.91.33:5643/ The directive parameters depend fully on what you get on the Location header of the redirection, so adjust as needed 2018-01-19 18:47 GMT+01:00 Hemant Chaudhary <hemantdude.chaudhary@xxxxxxxxx>: > 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 > -- Daniel Ferradal IT Specialist email dferradal at gmail.com linkedin es.linkedin.com/in/danielferradal --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx