Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 37328 invoked from network); 16 Mar 2008 23:08:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2008 23:08:28 -0000 Received: (qmail 50710 invoked by uid 500); 16 Mar 2008 23:08:25 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 50646 invoked by uid 500); 16 Mar 2008 23:08:25 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 50635 invoked by uid 99); 16 Mar 2008 23:08:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2008 16:08:25 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2008 23:07:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9EF451A9832; Sun, 16 Mar 2008 16:08:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r637682 - /httpd/httpd/trunk/docs/manual/rewrite/rewrite_intro.xml Date: Sun, 16 Mar 2008 23:08:06 -0000 To: cvs@httpd.apache.org From: noodl@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080316230806.9EF451A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: noodl Date: Sun Mar 16 16:08:00 2008 New Revision: 637682 URL: http://svn.apache.org/viewvc?rev=637682&view=rev Log: One typo, one logic error. Submitted by: Lucien Gentis Reviewed by: noodl Modified: httpd/httpd/trunk/docs/manual/rewrite/rewrite_intro.xml Modified: httpd/httpd/trunk/docs/manual/rewrite/rewrite_intro.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewrite_intro.xml?rev=637682&r1=637681&r2=637682&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/rewrite/rewrite_intro.xml (original) +++ httpd/httpd/trunk/docs/manual/rewrite/rewrite_intro.xml Sun Mar 16 16:08:00 2008 @@ -211,7 +211,7 @@ was matched by the expression inside the parenthesis in the Pattern. For example, a request for http://example.com/product/r14df/view will be mapped -to the path /var/web/productdbr14df.

+to the path /var/web/productdb/r14df.

If there is more than one expression in parenthesis, they are available in order in the @@ -224,7 +224,7 @@

Rewrite Flags

The behavior of a RewriteRule can be modified by the -application of one more flags to the end of the rule. For example, the +application of one or more flags to the end of the rule. For example, the matching behavior of a rule can be made case-insensitive by the application of the [NC] flag:

@@ -305,7 +305,7 @@ files at the expense of some additional complexity. This technique is called per-directory rewrites.

-

The main difference with per-directory rewrites is that the path +

The main difference with per-server rewrites is that the path prefix of the directory containing the .htaccess file is stripped before matching in the RewriteRule. In addition, the RewriteBase should be used to assure the request is properly mapped.