Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 85165 invoked from network); 30 Oct 2006 14:20:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2006 14:20:40 -0000 Received: (qmail 68695 invoked by uid 500); 30 Oct 2006 14:20:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 68678 invoked by uid 500); 30 Oct 2006 14:20:38 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 68667 invoked by uid 99); 30 Oct 2006 14:20:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 06:20:38 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [204.127.200.84] (HELO sccrmhc14.comcast.net) (204.127.200.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 06:20:23 -0800 Received: from [192.168.1.47] (c-69-143-26-154.hsd1.va.comcast.net[69.143.26.154]) by comcast.net (sccrmhc14) with ESMTP id <2006103014200201400qgqude>; Mon, 30 Oct 2006 14:20:02 +0000 Message-ID: <45460A85.8010405@christopherschultz.net> Date: Mon, 30 Oct 2006 09:21:57 -0500 From: Christopher Schultz User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: mod_jk configuration References: <7074844.post@talk.nabble.com> In-Reply-To: <7074844.post@talk.nabble.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig54C6DEC33A53BEC58AA15C98" X-Virus-Checked: Checked by ClamAV on apache.org --------------enig54C6DEC33A53BEC58AA15C98 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bruno, > when I try > http://localhost/jsp-examples http://localhost/jsp-examples (without t= he /) > I get this error: >=20 > Forbidden > You don't have permission to access /jsp-examples on this server. > Additionally, a 403 Forbidden error was encountered while trying to use= an > ErrorDocument to handle the request. It looks like you have Indexes turned off for this directory/location in httpd.conf, or you don't have an index.html (or whatever) file there to display. In that case, it's not surprising that Apache httpd is generating this error (note that it's httpd, not Tomcat, that is generating the error). If you want Tomcat to respond to requests for the URI with no trailing slash, you'll have to map that explicitly. > Here's my jk.conf (/etc/apache2/conf.d/jk.conf): >=20 > http://www.nabble.com/file/3907/jk.conf jk.conf=20 I'm guessing that was a copy/paste error. Let me guess what you have in jk.conf: JkMount /jsp-examples/* worker1 and/or JkMount /jsp-examples/*.jsp worker1 Since "/jsp-examples" does not match "/jsp-examples/*", your mappings are failing. You'll need to add something like: JkMount /jsp-examples worker1 Hope that helps, -chris --------------enig54C6DEC33A53BEC58AA15C98 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFRgqF9CaO5/Lv0PARAvKAAKCEw7Ufg8wVZf/z2KcsQEjkvjcYlwCgtssz nOTINCIppJayq9nCyf/7diI= =fx6t -----END PGP SIGNATURE----- --------------enig54C6DEC33A53BEC58AA15C98--