Do you want to be serving from the root on the 192.168.1.120 ... and do you want it to be serving from Tomcat or Apache?
The way you have it setup right now the root of 192.168.1.120 will have Apache (not Tomcat) try to serve documents starting at /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ Based on your config, Tomcat will only serve from 192.168.1.120/examples. Joe ----- Original Message ----- From: "Cheng Yan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 11:15 AM Subject: Tomcat - Apache integration problem > My apache is 1.3.12, tomcat is 4.0.3 and OS is Solaris 8. > > I added following lines in my httpd.conf and certain necessary changes in > server.xml. > > LoadModule webapp_module /usr/apache/libexec/mod_webapp.so > AddModule mod_webapp.c > > <VirtualHost 192.168.1.120> > ServerName niuniu > DocumentRoot /export/home/jyan/utility/jakarta-tomcat-4.0.3/webapps/ > WebAppConnection warConnection warp localhost:8008 > WebAppDeploy examples warConnection /examples > </VirtualHost> > > I then started httpd and tomcat. So far so good and I can visit > http://192.168.1.120/ROOT/ which is the same as http://localhost:8080. > > However, I can not visit http://192.168.1.120 any more. I got 403 forbidden > message: You don't have permission to access / on this server. > > Inaddition, two more things I want to ask: > > 1) I downloaded mod_webapp.so binary. When I start httpd, I got following > warning: > > [Thu Apr 18 14:10:16 2002] [warn] Loaded DSO > /usr/apache/libexec/mod_webapp.so uses plain Apache 1.3 API, this module > might crash under EAPI! (please recompile it with -DEAPI) > > So, where can I find the source code for webapp module? Is there anything I > need to pay special attention when I recompile this? > > 2) Though I can not visit http://192.168.1.120, I can still visit > http://192.168.1.120/~jyan. But I can not run jsp under $HOME/public_html. > The browser simple print the jsp source code into the screen. > > Can someone please explain it to me? Many thanks. > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
