httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50926] New: unexpected <Directory> file-matching behavior
Date Mon, 14 Mar 2011 12:15:49 GMT
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


Mime
View raw message