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 2003/12/08 22:54:22 UTC

DO NOT REPLY [Bug 25342] New: - AddOutputFilterByType filters don't apply to DirectoryIndex resources

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25342>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25342

AddOutputFilterByType filters don't apply to DirectoryIndex resources

           Summary: AddOutputFilterByType filters don't apply to
                    DirectoryIndex resources
           Product: Apache httpd-2.0
           Version: 2.0-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: julian@mehnle.net


AddOutputFilterByType filters aren't being applied to resources found through a
DirectoryIndex directive.  E.g.:

| DirectoryIndex default
| AddOutputFilterByType INCLUDES text/html

This won't apply the INCLUDES filter to a resource called "/foo/default.html" if
requested as "/foo" or /foo/", but *will* apply the filter if requested as
"/foo/default" (using Options MultiViews) or "/foo/default.html".

Currently, I'm using this instead:

  DirectoryIndex default
  <FilesMatch "\.xhtml(\..+)?$">
      SetOutputFilter INCLUDES
  </FilesMatch>

Ugly.

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