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 25342] New: - AddOutputFilterByType filters don't apply to DirectoryIndex resources
Date Mon, 08 Dec 2003 21:54:22 GMT
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


Mime
View raw message