httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51968] New: RewriteRule documentation unclear/misleading about substitution
Date Wed, 05 Oct 2011 21:03:37 GMT

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

The description of RewriteRule at

As already mentioned, all rewrite rules are applied to the Substitution (in the
order in which they are defined in the config file). 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.

I do not understand what the first sentence means.

The second sentences assumes rules operate on URL-s. In reality, as the section
explains earlier, it may operate on relative filesystem paths or on URL-paths.
Also, the replacement is not necessarily Substitution. As the section explains

When using the rewrite engine in .htaccess files the per-directory prefix
(which always is the same for a specific directory) is automatically removed
for the RewriteRule pattern matching and automatically added after any relative
(not starting with a slash or protocol name) substitution encounters the end of
a rule set. See the RewriteBase directive for more information regarding what
prefix will be added back to relative substutions.

BTW, note typo "substutions".

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