Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 52758 invoked from network); 11 Apr 2009 06:59:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2009 06:59:19 -0000 Received: (qmail 91215 invoked by uid 500); 11 Apr 2009 06:59:15 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91140 invoked by uid 500); 11 Apr 2009 06:59:14 -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 91129 invoked by uid 99); 11 Apr 2009 06:59:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2009 06:59:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchannelx@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-fx0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2009 06:59:07 +0000 Received: by fxm23 with SMTP id 23so369458fxm.0 for ; Fri, 10 Apr 2009 23:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SnR6GBKfsFkvrW8y2+5VFcgj39Lc12Bg7iGFoT3ySUk=; b=WEAkpljroJiRZBdB0Q35w5LPMB6HX4tum22C8tYXC3HpURaPaBcU7lyMTVsqPsY+kU z8l2/J97E3FC0V1eqeButFmt69s+ibrB6JCoKbny08R2fhJI9KaH38vtnYokrHoyo4JB bZ92BPWBgbyFgrH7wfAQ1Nm9sHuJToEGhuBBI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=WyumIcTpi7u1y8DKbLDivDh17vhC6W/06mlM4JurFcEUZ9j8V/DIFRYW/LjqaCFavQ xKaurywqkxiPoM57GfHq2mkkYPWT5c7v1zjEyqE1Ux4JLUcVGddI8XPJm+g22JDOWO9G RygA0rSKLSDMpcaRoEziHk8aRZRo3FTPXTf30= MIME-Version: 1.0 Received: by 10.86.80.5 with SMTP id d5mr3117153fgb.59.1239433124577; Fri, 10 Apr 2009 23:58:44 -0700 (PDT) In-Reply-To: <49DFD075.4070003@kippdata.de> References: <49DFB27E.6080201@kippdata.de> <49DFD075.4070003@kippdata.de> Date: Sat, 11 Apr 2009 10:58:44 +0400 Message-ID: Subject: Re: RewriteRule inside JkMount location From: J Channel To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2009/4/11 Rainer Jung : > On 10.04.2009 23:24, J Channel wrote: >> 2009/4/11 Rainer Jung >>> On 10.04.2009 21:41, J Channel wrote: >>>> Hi!Apache 2.2.11, mod_jk 1.2.28 >>>> >>>> httpd.conf: >>>> LoadModule jk_module modules/mod_jk.so >>>> JkOptions =A0 +ForwardURICompat >>>> JkMount /app/* balancer >>>> LoadModule rewrite_module modules/mod_rewrite.so >>>> DocumentRoot /var/www/public_html >>>> >>>> .htaccess in docroot: >>>> RewriteEngine On >>>> RewriteCond %{QUERY_STRING} !dyn\=3D1 >>>> RewriteRule ^app/ntd/give.* give.shtml/?%{QUERY_STRING} [L] >>>> >>>> I cant get worked this conf on apache 2.2.11, URI http://server/app/nt= d* pass >>>> to tomcat omitting RewriteRule. But its ok on apache1.3.33 + mod_jk1.2= .14 >>>> (even whitout JkOptions +ForwardURICompat, AFAIK its enable by default= for >>>> mod_jk <=3D 1.2.22). >>> It would be nice, if you would tell us, which URL you send, what you >>> expect to happen, and what happens instead. I send URL http://testsite.net/app/ntd/give?someparams=3Dvalue And i give a tomcat page "Sorry, we have no such page" instead of my http://testsite.net/give.shtml?someparams=3Dvalue page. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org