It doesn't seem to be the problem.
So far I've managed building my own mod_jk.so and 
starting Apache with it (I don't have any problem at 
Apache startup unlike days before).
Now It seems like Apache doesn't recognize /examples as 
a Tomcat directory, it's the same message as I doesn't 
use Tomcat. I'd like to know the moment Apache connects 
with Tomcat either using 8007 port or 8009 port, because 
obviously, my mod_jk.so is not working there. 

> On May 22, 2001 09:44 am, you wrote:
> > Now I have the following message when I try to 
access to
> > http://localhost/examples
> >
> > Forbidden
> > You don't have permission to access /examples on this
> > server.
> >
> You should have something similar to the following in 
your 
> $TOMCAT_HOME/conf/mod_jk.conf
> 
#########################################################
> # Auto configuration for the /examples context starts.
> 
#########################################################
> 
> #
> # The following line makes apache aware of the 
location of the /examples 
> context
> #
> Alias /examples "/usr/local/jakarta-tomcat-
3.2.1/webapps/examples"
> <Directory "/usr/local/jakarta-tomcat-
3.2.1/webapps/examples">
>     Options Indexes FollowSymLinks
> </Directory>
> 
> #
> # The following line mounts all JSP files and 
the /servlet/ uri to tomcat
> #
> JkMount /examples/servlet/* ajp12
> JkMount /examples/*.jsp ajp12
> 
> #
> # The following line prohibits users from directly 
accessing WEB-INF
> #
> <Location "/examples/WEB-INF/">
>     AllowOverride None
>     deny from all
> </Location>
> 
> #
> # The following line prohibits users from directly 
accessing META-INF
> #
> <Location "/examples/META-INF/">
>     AllowOverride None
>     deny from all
> </Location>
> 
> #######################################################
> # Auto configuration for the /examples context ends.
> #######################################################
> 
> > Do I have to edit my httpd.conf file and 
add /examples??
> 
> I'd suggest adding any desiered contexts to your 
> $TOMCAT_HOME/conf/mod_jk.conf.
> 
> 
> Neil
> 
> 
> 

--

Reply via email to