httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52000] New: RewriteRule documentation unclear/misleading about substitution
Date Mon, 10 Oct 2011 00:39:11 GMT

             Bug #: 52000
           Summary: RewriteRule documentation unclear/misleading about
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
    Classification: Unclassified

The description of RewriteRule at

The URL is completely replaced by the Substitution and the rewriting process
continues until all rules have been applied, or it is explicitly terminated by
a L flag, or other flag which implies immediate termination, such as END or F.

This assumes that rules operate on URL-s. In reality, as the section
explains earlier, it may operate on relative filesystem paths or on URL-paths:

What is matched?

In VirtualHost context, The Pattern will initially be matched against the part
of the URL after the hostname and port, and before the query string (e.g.

In Directory and htaccess context, the Pattern will initially be matched
against the filesystem path, after removing the prefix that lead the server to
the current RewriteRule (e.g. "app1/index.html" or "index.html" depending on
where the directives are defined).

Note that something is missing in "or other flag" (maybe "or another flag").

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message