Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23731 invoked from network); 12 Aug 2005 15:33:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Aug 2005 15:33:46 -0000 Received: (qmail 76753 invoked by uid 500); 12 Aug 2005 15:31:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 76736 invoked by uid 500); 12 Aug 2005 15:31:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 76599 invoked by uid 99); 12 Aug 2005 15:31:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 08:31:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.44.150.54] (HELO radu.onastick.net) (207.44.150.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 08:32:15 -0700 Received: from sitz by radu.onastick.net with local (Exim 3.35 #1 (Debian)) id 1E3bVf-0000ZU-00 for ; Fri, 12 Aug 2005 11:31:51 -0400 Date: Fri, 12 Aug 2005 11:31:51 -0400 To: users@httpd.apache.org Message-ID: <20050812153151.GA2666@radu.onastick.net> References: <366551fb0508111528ff9882@mail.gmail.com> <366551fb0508120732a65288@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <366551fb0508120732a65288@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Noah X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Using mod_rewrite with mod_jk2 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, Aug 12, 2005 at 10:32:41AM -0400, brian papa wrote: > Still having the same problem... right now my rewrite stuff looks like this - > > LoadModule rewrite_module modules/mod_rewrite.so > RewriteEngine on > RewriteCond %{HTTP_HOST} (.*).mysite.com$ > RewriteRule /profile/aboutme > http://mysite.com/profile/aboutme/index.jsp?memberName=%N [L] > > And then when I enter "someuser.mysite.com/profile/aboutme" I get a > 404 and the error logs look like this - > > "File does not exist: C:/apache_web/profile/aboutme/index.jsp" You need to add the 'PT' flag to your RewriteRule so that mod_rewrite will give mod_jk2 a crack at the request. You will also (I think; someone check me on this) need to have mod_rewrite's LoadModule line listed /after/ mod_jk2's, so ensure that mod_rewrite is called first. --noah --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org