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 2011/03/14 13:15:49 UTC

DO NOT REPLY [Bug 50926] New: unexpected file-matching behavior

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

           Summary: unexpected <Directory> file-matching behavior
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: covener@gmail.com


DocumentRoot /tmp/var/www
...

<Directory /tmp/var/www/index.html>
Require all denied
</Directory>


(or more subtly, a glob like /tmp/var/www/*, /tmp/var/www/ind*, or even
/tmp/var/www/ind*/)

This triggers a 403 for http://localhost/index.html  The equivalent with
order/allow also behaves the same way in 2.2.x.  


Should the directory walk have been able to realize that the target was a file
and the last segment can't be compared with directory sectons?

Maybe something to change before 2.4 GA?  Please change to docs@ if it's as
designed.

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