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 38303] New: - mod_dir should be able to hide directory index files
Date Tue, 17 Jan 2006 16:26:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38303>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38303

           Summary: mod_dir should be able to hide directory index files
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_dir
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mail@joachim-selke.de


I want to have canonical URIs and use mod_dir for directory indexes.

To "create" the URI http://www.example.org/foo/ I put a file named index.html
into the directory $DOCUMENT_ROOT/foo/. Now there is the problem that
http://www.example.org/foo/ and http://www.example.org/foo/index.html refer to
the same physical resource. So I have redirect the latter one to
http://www.example.org/foo/ with mod_redirect or mod_alias.

This is an ugly solution because there is no need to "create" the URI
http://www.example.org/foo/index.html along with http://www.example.org/foo/. I
think it would be better if a status code of 404 is returned for
http://www.example.org/foo/index.html.

Adding a config statement "HideDirectoryIndex" to mod_dir would solve this problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message