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 2006/01/17 21:45:33 UTC

DO NOT REPLY [Bug 38303] - mod_dir should be able to hide directory index files

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





------- Additional Comments From wrowe@apache.org  2006-01-17 21:45 -------

  Your proposal also massively increases processing time, because EVERY request
  would have to perform a mod_dir lookup walking the directory, to determine 
  *if* the file listed is -the- directory match.  Multiviews makes this a total
  nightmare scenario.

  The converse solution isn't so bad.  If you prefer to have

    http://example.com/foo/
    http://example.com/foo/index.html

  both map to the singular resource

    http://example.com/foo/index.html

  by responding to http://example.com/foo/ external redirect to .../index.html
  it would not hurt all performance (except with the external redirect roundtrip
  processing on exact hits to .../foo/).  HOWEVER, mapping to index.html may 
  interfere with mod_dav directory properties, so you must be quite careful 
  in crafting any such patch, and test it thoroughly with mod_dav running.


-- 
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