Hi Larry, Thanks for the headsup. Well I tried using the commented line earlier but it failed. So I tried again by commenting out the JMount parameter.
I was trying to access the URL : http://localhost/examples with a JKMount details as follows.. JkMount /examples/* worker1. It did not redirect the request from httpd to the tomcat. So I commented the line JkMount and tried accessing the url, it still failed... Thanks On Fri, Aug 29, 2008 at 9:34 AM, Larry J Prikockis <[EMAIL PROTECTED]>wrote: > You don't specify exactly what you mean by "it fails", but assuming you're > saying that requests to Apache aren't getting passed along to Tomcat, your > answer is right here: > (from httpd.conf) > > # Send everything for context /examples to worker named worker1 (ajp13) > #JkMount /examples/* worker1 > > if you want everything to go to Tomcat, add a line like: > > JkMount / worker1 > > and you're all set. > > If you want just a certain portion of the url namespace to get passed along > to Tomcat, you could use some thing like the commented out example. In that > case: http://yourserver/index.html would be served by Apache httpd, but > http://yourserver/examples/someexample.jsp would be served by Tomcat. > > > Vasanth Kumar ravi wrote: > >> Hi, >> I am using the mod_jk to connect the apache webserver and the tomcat >> server. >> Though I am able to access them individually, when I try to access the >> tomcat via the apache webserver, it fails. >> >> I used the examples given the apache site to configure the >> workers.properties and the httpd.conf files. >> >> Apache :2.2.8 >> Tomcat :6.0.16 >> jdk :1.5.014 from Sun >> OS : Suse Linux.. >> >> -- >> Regards&Thanks, >> Vasanth Kumar Ravi >> ------------------------------------------------------------------------ >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Regards&Thanks, Vasanth Kumar Ravi