From bb6b032ca198b1bcd6018cc43d8d5eebb596bfda Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Wed, 1 Aug 2007 18:50:43 +0000 Subject: [PATCH] Note the L doesn't necessarily mean no more rewriting. PR: 40004 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@561906 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_rewrite.html.en | 20 +++++++++++--------- docs/manual/mod/mod_rewrite.xml | 20 +++++++++++--------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index a11961d6a1..079f095e7c 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -1316,15 +1316,17 @@ cannot use $N in the substitution string! ``cgi-script''.
  • 'last|L' - (last rule)
    - Stop the rewriting process here and don't apply any more - rewrite rules. This corresponds to the Perl - last command or the break command - in C. Use this flag to prevent the currently - rewritten URL from being rewritten further by following - rules. For example, use it to rewrite the root-path URL - ('/') to a real one, e.g., - '/e/www/'.
  • + (last rule)
    Stop the rewriting process + here and don't apply any more rewrite rules. This corresponds + to the Perl last command or the + break command in C. Use this flag to prevent the + currently rewritten URL from being rewritten further by + following rules. Remember, however, that if the + RewriteRule generates an internal + redirect (which frequently occurs when rewriting in a + per-directory context), this will reinject the request and + will cause processing to be repeated starting from the first + RewriteRule.
  • 'next|N' (next round)
    diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index eca555dd33..dd7c5d8318 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1333,15 +1333,17 @@ cannot use $N in the substitution string! ``cgi-script''.
  • 'last|L' - (last rule)
    - Stop the rewriting process here and don't apply any more - rewrite rules. This corresponds to the Perl - last command or the break command - in C. Use this flag to prevent the currently - rewritten URL from being rewritten further by following - rules. For example, use it to rewrite the root-path URL - ('/') to a real one, e.g., - '/e/www/'.
  • + (last rule)
    Stop the rewriting process + here and don't apply any more rewrite rules. This corresponds + to the Perl last command or the + break command in C. Use this flag to prevent the + currently rewritten URL from being rewritten further by + following rules. Remember, however, that if the + RewriteRule generates an internal + redirect (which frequently occurs when rewriting in a + per-directory context), this will reinject the request and + will cause processing to be repeated starting from the first + RewriteRule.
  • 'next|N' (next round)
    -- 2.50.1