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