You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2010/11/30 01:35:07 UTC
DO NOT REPLY [Bug 50375] New: directive does not describe
what it actually matches
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
DO NOT REPLY [Bug 50375] directive does not describe what
it actually matches
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50375
--- Comment #3 from Christoph Anton Mitterer <ca...@scientia.net> 2010-11-30 18:02:52 EST ---
IMHO your wording is fine and the examples show very well what you mean :)
But can you add, whether or not the query part of URLs is also taken into
account (cannot test it right now I'm on the train).
--
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
DO NOT REPLY [Bug 50375] directive does not describe what
it actually matches
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50375
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eric Covener <co...@gmail.com> 2010-11-30 17:12:07 EST ---
thanks for the report -- I changed the bogus example to LocationMatch and added
a paragraph in th <Location> doc, although I am not thrilled with my wording of
the prefix matching. r1040808
--
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
DO NOT REPLY [Bug 50375] directive does not describe what
it actually matches
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50375
--- Comment #2 from Eric Covener <co...@gmail.com> 2010-11-30 17:12:59 EST ---
*** Bug 50374 has been marked as a duplicate of this bug. ***
--
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