https://issues.apache.org/bugzilla/show_bug.cgi?id=46824
Summary: RemoveOutputFilter will not work for Filters added in
server config
Product: Apache httpd-2
Version: 2.2.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_mime
AssignedTo: [email protected]
ReportedBy: [email protected]
This config-snippet at server config will not work:
AddOutputFilter INCLUDES html htm shtm shtml
<Directory /u/www>
RemoveOutputFilter html
</Directory>
.html files still have the INCLUDE filter activ.
The Reason is, that according to
http://perl.apache.org/docs/2.0/user/config/custom.html#Merging_Order_Consequences
the serve-config is merged after all others, but merge_mime_dir_configs from
mod_mime.c assumes, that merging is done top down.
Workaround is to put AddOutputFilter into <Directory /> section.
Solutions possible: disallow AddOutputFilter in server config. Put warning into
Documentation. Repair merge_mime_dir_configs, but I think, this may become
complicated.
--
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: [email protected]
For additional commands, e-mail: [email protected]