Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 21881 invoked from network); 22 Jul 2009 01:44:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jul 2009 01:44:54 -0000 Received: (qmail 32148 invoked by uid 500); 22 Jul 2009 01:45:58 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 32109 invoked by uid 500); 22 Jul 2009 01:45:58 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 32101 invoked by uid 99); 22 Jul 2009 01:45:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 01:45:58 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.186] (HELO moutng.kundenserver.de) (212.227.126.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 01:45:47 +0000 Received: from [192.168.2.100] (g226113108.adsl.alicedsl.de [92.226.113.108]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MKv5w-1MTQtX2P4m-000l7r; Wed, 22 Jul 2009 03:45:24 +0200 Message-ID: <4A666F31.8090002@aevum.de> Date: Wed, 22 Jul 2009 03:45:21 +0200 From: Nick Wellnhofer User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Eric Lease Morgan CC: mod_perl Subject: Re: rewriterule, location, and perlhandler References: <4F090B4A-0A73-4849-9F45-6E6A5F58963D@infomotions.com> In-Reply-To: <4F090B4A-0A73-4849-9F45-6E6A5F58963D@infomotions.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+60VKks+ittXLbv2jMG+EYnKdVyNwW4h8hZ11 QMcJ2O0F06ZUL28a2uPqtlriOZtvnMS0Cv+N+KU8bdJIXHDad6 d18BlfvtIdcz4Ip1h0CVQ== X-Virus-Checked: Checked by ClamAV on apache.org Eric Lease Morgan wrote: > What am I doing wrong? Does an actual file need to exist in order for > mod_perl to find it? No. > How should I edit httpd.conf so I can: 1) rewrite > GET requests, and 2) execute the result in a mod_perl module? Try the mod_rewrite "passthrough" (PT) flag: RewriteRule ^/etexts/id/(.*) /sandbox/semantic-web.cgi?id=$1 [PT] More info here: http://modperlbook.org/html/12-8-mod_rewrite-Examples.html Nick