https://bz.apache.org/bugzilla/show_bug.cgi?id=60024

            Bug ID: 60024
           Summary: RewriteRule documentation: misleading sentence about
                    "per-directory prefix"
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
               URL: http://httpd.apache.org/docs/trunk/en/mod/mod_rewrite.
                    html#rewriterule
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: chea...@gmail.com

http://httpd.apache.org/docs/trunk/en/mod/mod_rewrite.html#rewriterule
contains:
When using the rewrite engine in .htaccess files the per-directory prefix (that
is, the URI path that leads to the directory containing this .htaccess file) is
removed for the RewriteRule pattern matching and added after any relative (not
starting with a slash or protocol name) substitution encounters the end of a
rule set.

While the core message is correct, this implies that a single URI path leads to
the directory containing a .htaccess file. As explained in ticket #53152, this
is not necessarily the case (previously, this error was direct, but after a
reformulation, it is now merely implied).

Note that "per-directory prefix" is apparently not a term defined anywhere. If
this has no specific meaning, in my opinion it would be clearer to simply call
this a "directory path". A URI path comprises both a "directory path" and a
filename. I do not see how this "per-directory prefix" is more a prefix than
the filename is a suffix. A URI path without that "prefix" is not a URI path.

-- 
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

Reply via email to