You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/07/23 02:15:56 UTC
[Bug 53585] New: Exact Directory match problem
https://issues.apache.org/bugzilla/show_bug.cgi?id=53585
Priority: P2
Bug ID: 53585
Assignee: bugs@httpd.apache.org
Summary: Exact Directory match problem
Severity: normal
Classification: Unclassified
OS: Linux
Reporter: smartgig@gigfa.com
Hardware: PC
Status: NEW
Version: 2.2.22
Component: Core
Product: Apache httpd-2
The following directory matching should exactly match /var/www/html/website
folder (and not the subfolders within) :
<Directory ~ "^/var/www/html/website$">
<Files index.php>
Order allow,deny
Deny from all
</Files>
</Directory>
But it doesn't match neither the folder nor the subfolders.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53585] Exact Directory match problem
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53585
Mostafa <sm...@gigfa.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from Mostafa <sm...@gigfa.com> ---
http://httpd.apache.org/docs/2.2/mod/core.html#directorymatch
The bug is related to <Directory> tag, not <DirectoryMatch> tag.
According to :
http://httpd.apache.org/docs/2.2/mod/core.html#directory
I can see the following example in the documentation :
<Directory ~ abc$>
# ... directives here ...
</Directory>
Which shows that it's allowed to use $.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53585] Exact Directory match problem
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53585
Daniel Gruno <hu...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Core |Documentation
--- Comment #3 from Daniel Gruno <hu...@apache.org> ---
Changing ownership to docs, since this is a documentation issue
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53585] Exact Directory match problem
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53585
Daniel Gruno <hu...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Daniel Gruno <hu...@apache.org> ---
As mentioned, this issue was with the documentation showing something that does
not work. <Directory ~ "foo"> is equivalent to <DirectoryMatch "foo"> just as
<Location ~ "foo"> equals <LocationMatch "foo">, and as such, the same rule
applies for both directives. I have removed the "abc$" example and replaced it
with something else, as to not confused readers.
Closing this issue as fixed.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 53585] Exact Directory match problem
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53585
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Eric Covener <co...@gmail.com> ---
http://httpd.apache.org/docs/2.2/mod/core.html#directorymatch describes the
quirks in the 2.2 release.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org