Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 75851 invoked by uid 500); 19 Aug 2001 15:39:43 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 75844 invoked from network); 19 Aug 2001 15:39:42 -0000 Received: from 213-84-251-65.adsl.xs4all.nl (HELO gerodt.sun.com) (213.84.251.65) by h31.sny.collab.net with SMTP; 19 Aug 2001 15:39:42 -0000 Received: from xs4all.nl (localhost.localdomain [127.0.0.1]) by gerodt.sun.com (8.11.0/8.11.0) with ESMTP id f7JFdpu01808 for ; Sun, 19 Aug 2001 17:39:51 +0200 Message-ID: <3B7FDDC7.5070807@xs4all.nl> Date: Sun, 19 Aug 2001 17:39:51 +0200 From: Gero Vermaas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 X-Accept-Language: en-us MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Tomcat and Apache, can't get it up and running Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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########## LoadModule jk_module /etc/httpd/modules/mod_jk.so 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: AllowOverride None Options Indexes Includes FollowSymLinks ExecCGI order deny,allow allow from all 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