Hi,

I'm trying to get the combination of Apache and Tomcat 3.3-b1 up and 
running, but without success till now. Both run OK themselves but when I 
try to access TomCat webapps via Apache nothing happens. I following the 
  HOWTO on the jakarta site but without luck.

- Accessing JSP pages by connection to port 8080 (TomCat) works fine
- Accessing plain HTML via port 80 (Apache web server) is also no problem.

However, I can't get Apache to forward requests to Tomcat:

I used the auto config option in Tomcat and it generates a nice 
mod_jk.conf file in the conf/auto directory of tomcat.

I added the following line to httpd.conf of apache:

Include /opt/tomcat-3.3-b1/conf/auto/mod_jk.conf

The contents of mod_jk.conf is:
########## Auto generated on Sun Aug 19 16:47:43 GMT+02:00 2001##########

<IfModule !mod_jk.c>
   LoadModule jk_module /etc/httpd/modules/mod_jk.so
</IfModule>

JkWorkersFile "/opt/tomcat-3.3-b1/conf/jk/workers.properties"
JkLogFile "/opt/tomcat-3.3-b1/logs/mod_jk.log"


JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /admin ajp13
JkMount /admin/* ajp13


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/


Then I added the following to the httpd.conf file:


<Directory /opt/tomcat-3.3-b1/webapps>
AllowOverride None
Options Indexes Includes FollowSymLinks ExecCGI
order deny,allow
allow from all
</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/

Any ideas whta could be wrong?

Thanks in advance,

Gero

Reply via email to