Joe,

Sorry for asking those dumb questions in my previous email. Now I think I
understand your reply. Here are some follow-up questions.

Under my $CATALINA_HOME/webapps, there are five subdirs: examples/  manager/
ROOT/ tomcat-docs/ webdav/, which is standard. The mode for all these
subdirs are 755. Therefore, when I goto httpd://192.168.1.120, I would
expect a list of these five subdirs, wouldn't I? Why should I get "403
Forbidden" error?

With my current settings, I can visit httpd://192.168.1.120/ROOT. But I can
not run jsp here. How can I reset it so that httpd://192.168.1.120/ROOT will
be served by tomcat?

Thank you.

Cheng


----- Original Message -----
From: "Joseph Molnar" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Cheng Yan"
<[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 14:29
Subject: Re: Tomcat - Apache integration problem


> 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]>

Reply via email to