Return-Path: Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: (qmail 18300 invoked from network); 3 Nov 2009 16:42:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 16:42:21 -0000 Received: (qmail 63621 invoked by uid 500); 3 Nov 2009 16:42:21 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 63562 invoked by uid 500); 3 Nov 2009 16:42:20 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 63553 invoked by uid 99); 3 Nov 2009 16:42:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 16:42:20 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.45] (HELO mail-pw0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 16:42:18 +0000 Received: by pwi11 with SMTP id 11so2677124pwi.24 for ; Tue, 03 Nov 2009 08:41:57 -0800 (PST) Received: by 10.114.45.2 with SMTP id s2mr218540was.122.1257266517630; Tue, 03 Nov 2009 08:41:57 -0800 (PST) Received: from ?10.11.15.244? (216-75-233-114.static.wiline.com [216.75.233.114]) by mx.google.com with ESMTPS id 23sm124110pxi.13.2009.11.03.08.41.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Nov 2009 08:41:56 -0800 (PST) Message-Id: <1AA1117D-3FCA-4F9B-A8F0-AA09C13D743D@rcbowen.com> From: Rich Bowen To: docs@httpd.apache.org In-Reply-To: <553da56d0911030636r16f8562eub6c6abb3473419ef@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: svn commit: r832217 - in /httpd/httpd/trunk/docs/manual/rewrite: index.html.en index.xml index.xml.tr remapping.html.en remapping.xml rewrite_guide.html.en rewrite_guide.xml Date: Tue, 3 Nov 2009 08:41:54 -0800 References: <20091103001658.6423D2388982@eris.apache.org> <553da56d0911030636r16f8562eub6c6abb3473419ef@mail.gmail.com> X-Mailer: Apple Mail (2.936) On Nov 3, 2009, at 06:36 , Bob Ionescu wrote: >> >> +# backward compatibility ruleset for >> +# rewriting document.html to document.php >> +# when and only when document.php exists >> +RewriteEngine on >> + >> +RewriteCond $1.php -f >> +RewriteCond $1.html !-f >> +RewriteRule ^(.*).html$ $1.php > > I think this will lead to problems since $1 should contain (in per-dir > context) only local/foo and not /full/physical/path/to/local/foo as > required by apr_stat(). Ah. We need a RewriteBase on there. Thanks. -- Rich Bowen rbowen@rcbowen.com --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org