httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50375] New: <Location> directive does not describe what it actually matches
Date Tue, 30 Nov 2010 00:35:07 GMT
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: docs@httpd.apache.org
        ReportedBy: calestyo@scientia.net


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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message