Return-Path: X-Original-To: apmail-httpd-docs-archive@www.apache.org Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C1DA783B for ; Wed, 9 Nov 2011 03:43:33 +0000 (UTC) Received: (qmail 24774 invoked by uid 500); 9 Nov 2011 03:43:32 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 24730 invoked by uid 500); 9 Nov 2011 03:43:30 -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 24719 invoked by uid 99); 9 Nov 2011 03:43:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 03:43:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 03:43:27 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id D6E8B4F41E; Wed, 9 Nov 2011 03:43:06 +0000 (UTC) From: bugzilla@apache.org To: docs@httpd.apache.org Subject: DO NOT REPLY [Bug 30021] mod_rewrite documentation for 2.0 API Phases still discusses 2.0 in the future Date: Wed, 09 Nov 2011 03:43:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: Documentation X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: chealer@gmail.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: docs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=30021 --- Comment #9 from Filipus Klutiero 2011-11-09 03:43:05 UTC --- Thank you Rich. What I meant was that the documentation seems to say there is a loop in all cases: In per-directory context (i.e., within .htaccess files and Directory blocks), these rules are being applied after a URL has already been translated to a filename. Because of this, mod_rewrite temporarily translates the filename back into a URL, by stripping off directory path before appling the rules. (See the RewriteBase directive to see how you can further manipulate how this is handled.) Then, a new internal subrequest is issued with the new URL. This restarts processing of the request phases. A subrequest would seem to generate a subrequest, which would itself generate a subrequest, etc. I imagine a request only generates a subrequest in some conditions, but the documentation doesn't mention that such conditions exist. By the way, there is a closing parenthesis missing: (Be careful to avoid rules that can cause looping. See RewriteLooping for further discussion of this problem. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org