Hi,

I tried to access the JSP by using the fullpath 
(localhost/examples/jsp/colors/colrs.jsp) but then the log file reports 

[Mon Aug 20 10:24:22 2001] [error] [client 127.0.0.1] File does not exist: 
/var/www/html/examples/jsp/colors/colrs.jsp

I'm afraid that I made some other change also (but I can't remember) because it does 
not seem to switch to tomcat context anymore. The "forbidden by rule" message is not 
appearing anymore when I do a request for localhost/examples. In that case I also get 
the "file does not exist" message.

Any ideas?

Regards,
Gero

> Hi Gero,
> 
>> - Accessing JSP pages by connection to port 8080 (TomCat) works fine -
>> Accessing plain HTML via port 80 (Apache web server) is also no
>> problem.
> 
> Ok, this is a good start =)
> 
>> When I try to access the examples I get the following messages in the
>> apache log
>> [Sun Aug 19 17:33:14 2001] [error] [client 10.0.0.150] Directory index
>> forbidden by rule: /opt/tomcat-3.3-b1/webapps/examples/
> 
> This looks good so far, the /examples request is resolving relative to
> Tomcat's examples Context.  Try to request an actual JSP file, not the
> directory.
> 
>> But this resulted in:
>> [Sun Aug 19 17:35:31 2001] [error] [client 10.0.0.150] File does not
>> exist: /var/www/html/examples/
> 
> ...exactly.  Now your request isn't getting forwarded to Tomcat, and
> Apache is looking at it's DocumentRoot for "/examples/" and it doesn't
> exist.
> 
> - r


Reply via email to