403 Forbidden on /examples
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Richard_Robinson
Posted On:   Saturday, August 4, 2001 11:29 PM

Hello. I've got tomcat 3.2.1 running with Apache 1.3.12 on a Linux 7.0 box. The configuration and install is about as plain vanilla as you can get. But when I try to access the /examples directory ("http://my.domain.com/examples" or "http://my.domain.com/examples/") I get a "403 Forbidden" error from Apache. There is even an index.html file in the directory root (of web app). If I type "http://my.domain.com/examples/index.html" I still get the "403 Forbidden". The web.xml file shows that Indexes are on for the /examples directory. Any ideas or suggestions?    More>>

Hello. I've got tomcat 3.2.1 running with
Apache 1.3.12 on a Linux 7.0 box. The
configuration and install is about as
plain vanilla as you can get. But when I try
to access the /examples directory
("http://my.domain.com/examples" or
"http://my.domain.com/examples/")
I get a "403 Forbidden" error from Apache.
There is even an index.html file in the
directory root (of web app). If I
type "http://my.domain.com/examples/index.html"
I still get the "403 Forbidden".
The web.xml file shows that Indexes are
on for the /examples directory. Any ideas
or suggestions?

   <<Less

Re: 403 Forbidden on /examples

Posted By:   Richard_Robinson  
Posted On:   Sunday, August 5, 2001 12:33 AM


I seem to have figured it out (finally). I offer
this for whoever else might be having
the same difficulty.




By adding a element as follows,
to the tomcat.conf (note it is not
tomcat-apache.conf; note as well that
httpd.conf must be referencing tomcat.conf),
and then rebooting Apache, things
now work as advertised:





allow from all




I'm guessing Apache (or tomcat) is adding
an implicit "deny from all" (perhaps
it's documented somewhere and I missed it?).
Or perhaps there's something in the
httpd.conf that is explicitly doing this
(I haven't gone that far into it, now
that it works.).




In case anyone cares or is having the same
difficulty...

About | Sitemap | Contact