Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 13338 invoked from network); 14 Jul 2003 17:28:00 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Jul 2003 17:28:00 -0000 Received: (qmail 217 invoked by uid 97); 14 Jul 2003 17:30:32 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 210 invoked from network); 14 Jul 2003 17:30:32 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 14 Jul 2003 17:30:32 -0000 Received: (qmail 11939 invoked by uid 500); 14 Jul 2003 17:27:47 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 11913 invoked from network); 14 Jul 2003 17:27:46 -0000 Received: from smtp02.web.de (HELO smtp.web.de) (217.72.192.151) by daedalus.apache.org with SMTP; 14 Jul 2003 17:27:46 -0000 Received: from port-212-202-73-17.reverse.qsc.de ([212.202.73.17] helo=sgc.web.de) by smtp.web.de with asmtp (WEB.DE 4.98 #244) id 19c777-0002x0-00 for tomcat-user@jakarta.apache.org; Mon, 14 Jul 2003 19:27:49 +0200 Message-Id: <5.2.1.1.0.20030714192131.00c66048@imap.web.de> X-Sender: Simon.Pabst@imap.web.de X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Mon, 14 Jul 2003 19:27:46 +0200 To: "Tomcat Users List" From: Simon Pabst Subject: Re: I'm officially lost with mod_jk In-Reply-To: <2914A757-B619-11D7-B5EE-000393CFE61E@connecties.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: Simon.Pabst@web.de X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That looks like a trailing slash problem, you requested /Friss, but mounted only /Friss/ Either use the following JkMount additionally: JkMount /Friss worker1 Or use Apache's mod_rewrite to put a trailing slash to URL if it there is none. http://httpd.apache.org/docs/misc/rewriteguide.html Also make sure to have index.html in your Tomcat web.xml welcome file list. http://jakarta.apache.org/tomcat/faq/misc.html#welcome At 18:35 14.07.2003 +0200, you wrote: >Hi all, > >Here is another user of mod_jk who's now officially lost. > >I have apache 1.3.x with tomcat 4.1.24 >I installed mod_jk > >in httpd.conf I put : > >LoadModule jk_module modules/mod_jk.so > >. >. >. > ># MY OWN STUFF HERE > > AddModule mod_jk.c > JkWorkersFile /etc/httpd/conf/workers.properties > JkLogFile /var/log/httpd/mod_jk.log > JkLogLevel info > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories > JkRequestLogFormat "%w %V %T" > JkMount /Friss/* worker1 > > > >In workers.properties I have : > >#Define 1 real worker using ajp13 > >worker.list=worker1 > >#Set properties for worker1(ajp13) > >worker.worker1.type=ajp13 >worker.worker1.host=localhost >worker.worker1.port=8009 >worker.worker1.lbfactor=50 >worker.worker1.cahcesize=10 >worker.worker1.cache_timeout=600 >worker.worker1.socket_keepalive=1 >worker.worker1.socket_timeout=300 > >In the webapps dir I created a dir called Friss wich contains a WEB_INF >dir and a index.html file. > >When I restart tomcat and apache I want to request : www.connecties.com/Friss. > >I suspected to get the index.html file from the Friss webapp. Instead I >got a 404 document not found. > > >I think I'm missing something but I don't know what. >Anybody out there had the same experience and want to share it with me? > >Kind regards >Werner > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org