title: Redirect calls made to apache through a php
body: <p>(apache here I refer to apache2 webserver)
  I have a setup where in my jsp calls to tomcat are routed by apache using mod_jk. Both servers reside on the same machine. I want to do away with the mod_jk connector, instead the calls coming to apache is served by making a curl call to the localhost tomcat server. </p>
  
  <p>The problem is the queries comming are of the type 'something/something.jsp' or 'anything/anything.jsp'. I want all this requests coming to apache be serviced by a common php code, which will do the corresponding curl call and return the response. The reason I am using the php connector is for some specific logging purposes.</p>
  
  <p>Completely new to the apache world so any help would be really appreciated !</p>