https://issues.apache.org/bugzilla/show_bug.cgi?id=50375

           Summary: <Location> directive does not describe what it
                    actually matches
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Hi.

While <Directory /foo> exactly describes what it matches (namely the dir foo
and it's subdirectories. and while it's clear for <Files foo> (there is no
hierarchy within filenames like the "/" with dirs)...
... <Location /foo> does not describe this.

It's IMHO especially not clear, that no only the location "/foo" itself ist
matched, but also any other locations that match "/foo/*".
"/foo*" locations seem to be _NOT_ matched.

For LocationMatch it's IMHO clear, as it is simply the "open" PCRE-regexp (i.e.
^ and $ must bee added if the whole string should be matched)

This should be added at least here:
http://httpd.apache.org/docs/2.2/mod/core.html#location
and probably also here:
http://httpd.apache.org/docs/2.2/sections.html#file-and-web
within the "Webspace Containers" section.

Cheers,
Chris.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to