Hi When I was testing tomcat with apache for the first time I had a similar problem. I found a hint in a now forgotten web forum:
http://apache.server/examples would not work http://apache.server/examples/ did it's work That was a great day for me ;-D Maybe it will help you too. I�aki -----Mensaje original----- De: Ian Zapczynski [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 24 de mayo de 2002 14:57 Para: Tomcat Users List Asunto: Re: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3 Hello Andy and all, I received the same results with or without the AddModule line. When I have the AddModule line in there, I get the following on Apache startup: [warn] module mod_webapp.c is already added, skipping I removed it to avoid the error, but placing it back, my mappings to the web application are still not recognized. I'm not even quite sure how to troubleshoot this further? -Ian Andy Eastham wrote: > Ian, > > Have you got addModule after loadModule in your httpd.conf file? I've got: > # Tomcat / Catalina connector > LoadModule webapp_module modules/mod_webapp.so > AddModule mod_webapp.c > > then: > # Tomcat connections ANE 20010813 > WebAppConnection conn warp 127.0.0.1:8008 > WebAppDeploy control conn /control > WebAppDeploy rtiadmin conn /rtiadmin > > This works fine. > Hope this helps, > > Andy > > > -----Original Message----- > > From: Ian Zapczynski [mailto:[EMAIL PROTECTED]] > > Sent: 24 May 2002 13:34 > > To: [EMAIL PROTECTED] > > Subject: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat > > 4.0.3 > > > > > > Hello all, > > > > I am unable to access my Tomcat web application via Apache. When > > I try, I get a 404 error and the Apache error log shows that it is > > looking for the application under my document root. > > > > I have: > > > > Apache version 1.3.23 > > Tomcat 4.03 > > mod_webapp.so from jakarta-tomcat-connectors-4.0.2-01-src > > Red Hat Linux 6.2 > > > > Using mod_webapp.so, I am able to get Apache to connect to Tomcat > > as I can see from the following in the apache_log.<date>.txt log upon > > Apache startup: > > > > 2002-05-23 14:57:30 > > [org.apache.catalina.connector.warp.WarpConnector] Connection > > from /127.0.0.1:3767 to /127.0.0.1:8008 > > 2002-05-23 14:57:30 > > [org.apache.catalina.connector.warp.WarpConnector] Connection > > from /127.0.0.1:3768 to /127.0.0.1:8008 > > 2002-05-23 14:57:30 > > [org.apache.catalina.connector.warp.WarpConnector] Connection > > from /127.0.0.1:3769 to /127.0.0.1:8008 > > 2002-05-23 14:57:30 > > [org.apache.catalina.connector.warp.WarpConnector] Connection > > from /127.0.0.1:3770 to /127.0.0.1:8008 > > 2002-05-23 14:57:30 > > [org.apache.catalina.connector.warp.WarpConnector] Connection > > from /127.0.0.1:3771 to /127.0.0.1:8008 > > > > > > After these messages, I also see several messages of the type: > > > > 2002-05-23 14:57:30 > > [org.apache.catalina.connector.warp.WarpConfigurationHandler] > > Filter mappings (0) > > > > I'm not sure if this is typical or part of my problem. > > > > From my httpd.conf: > > > > LoadModule webapp_module libexec/mod_webapp.so > > > > WebAppConnection conn warp localhost:8008 > > WebAppDeploy myapp conn /myapp > > WebAppInfo /webapp-info > > > > "myapp" is named exactly as it exists in my /home/tomcat/webapps > > directory. When I access either http://host/myapp or > > http://host/webapp-info, I receive a 404 error in the Apache > > access log and the error log is looking for > > /usr/local/apache/htdocs/myapp. > > > > Can anyone point out what I may be doing wrong? > > > > Thanks in advance! > > > > -Ian > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Ian Zapczynski Systems Integrator The Sycamore Group (215) 283-4877 x120 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
