httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 60024] New: RewriteRule documentation: misleading sentence about "per-directory prefix"
Date Fri, 19 Aug 2016 11:48:04 GMT

            Bug ID: 60024
           Summary: RewriteRule documentation: misleading sentence about
                    "per-directory prefix"
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
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:
For additional commands, e-mail:

View raw message