Jeff Thanks for your feedback and idea. I have eventually found that when you switch on NameVirtualHost then Apache needs r-x permissions on all the folders in your tree.
I was running under /home/tomcat/tomcat3/webapps... and had mode 744 on all directories except /home/tomcat (700 as you would expect) Just so very odd given that a) tomcat is accessing this area - was running under user tomcat b) Apache without the VirtualHost turned on was able to work fine. Dave > -----Original Message----- > From: Jeff Knox [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 08, 2003 12:02 PM > To: Tomcat Users List > Subject: Re: Switching to virtual hosts gives permission error > > Dave, > > I saw something like that if I didn't put the virtual host directories > in CATALINA_HOME/webapps/ROOT. I could live with that, but then I had a > major problem. I couldn't get forms using POSTs or URLs with parameters > to work (ex: index.jsp?name=bob). Somebody recommended that move from > mod_jk to mod_jk2. Mod_jk2 needs threaded Apache and instead of > recompiling Apache 1.3 I upgraded to 2.0. The Apache 2.0/mod_jk2/Tomcat > 4.1 combination works great. The GET method works and I was able to > move my htdocs directories back to their original locations. > > I hope this helps. > > Jeff > > > On Saturday, June 7, 2003, at 12:43 PM, Dave Weitzel wrote: > > > I am setting up RH Linux with Apache 1.3.27 and tomcat 3.3.1a > > > > I am able to set up in initial sites and access directly with Tomcat > > (port > > 8080) and also individually with Apache and Tomcat (ajp13) > > > > > > > > However as soon as I enable NameVirtualHost * in the httpd.conf and put > > <VirtualHost *> </VirtualHost> around the JkMount directives with > > associated > > DocumentRoot and ServerName entries I get Apache reporting: > > > > > > > > Forbidden > > > > You do not have access to / (or whatever URL I type in.) > > > > > > > > Has anyone seen this before? > > > > > > > > > > > > > > > > Dave Weitzel | Consulting Manager Teamware > > > > Avectra - A Teamware Partner > > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > phone: +1 703 394 0980 ext 1241 fax: +1 703 394 0985 > > > > cell phone: + 1 240 401 9505. > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]