Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 49809] DirectoryMatch never matches EOL/$, applies to subdirectories

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Jul 23, 2012, 6:43 AM

Post #1 of 2 (196 views)
Permalink
[Bug 49809] DirectoryMatch never matches EOL/$, applies to subdirectories

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

Mostafa <smartgig [at] gigfa> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---

--- Comment #4 from Mostafa <smartgig [at] gigfa> ---
I've tested the bug in apache 2.2.22 and it has not been fixed.

Here is my config file :

======================================================
<FilesMatch ".(php)$">
deny from all
</FilesMatch>

<Directory ~ "^/home/domain/public_html/en$">
<Files "index.php">
allow from all
</Files>
</Directory>
======================================================

Expected result :
http://domain.com/en/index.php -> 200 OK
http://domain.com/en/includes/index.php -> 403 Forbidden
http://domain.com/en/hacked-shell/index.php -> 403 Forbidden

Actual result :
http://domain.com/en/index.php -> 403 Forbidden
http://domain.com/en/includes/index.php -> 403 Forbidden
http://domain.com/en/hacked-shell/index.php -> 403 Forbidden

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Jul 23, 2012, 6:46 AM

Post #2 of 2 (186 views)
Permalink
[Bug 49809] DirectoryMatch never matches EOL/$, applies to subdirectories [In reply to]

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

Eric Covener <covener [at] gmail> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |WONTFIX

--- Comment #5 from Eric Covener <covener [at] gmail> ---
This is how it has behaved for years, will not change in 2.2 and earlier as it
would/could break working config. Resolved in 2.4

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.