https://issues.apache.org/bugzilla/show_bug.cgi?id=51968
Bug #: 51968 Summary: RewriteRule documentation unclear/misleading about substitution Product: Apache httpd-2 Version: 2.3-HEAD Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Documentation AssignedTo: docs@httpd.apache.org ReportedBy: chea...@gmail.com Classification: Unclassified The description of RewriteRule at http://httpd.apache.org/docs/current/en/mod/mod_rewrite.html#rewriterule contains: 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 earlier: 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: 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-unsubscr...@httpd.apache.org For additional commands, e-mail: docs-h...@httpd.apache.org