Return-Path:
-The SetFilter directive maps a filter stack to the specified content
-type.
+The SetFilter directive maps a filter stack to the specified Handler.
Example:
+>Syntax: SetFilter Assign filters based on Handler...
Module: mod_mime
@@ -372,15 +371,15 @@
-Then any document with the server-parsed MIME-type will pass through the +Then any document with the server-parsed Handler will pass through the INCLUDES and CACHE filters. The filters are added in the same order that they are specified in the config file.
-This can be very powerful when combined with either the -AddType or AddHandler directives. This allows -you to specify an extension for a MIME-type and a set of filters for files -with those extensions to be passed through +This can be very powerful when combined with either the +AddHandler directives. This allows you to specify an extension for a +MIME-type and a set of filters for files with those extensions to be passed +through
AddHandler server-parsed .shtml 1.30 +1 -1 apache-2.0/src/modules/standard/mod_mime.c Index: mod_mime.c =================================================================== RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_mime.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- mod_mime.c 2000/11/19 16:55:11 1.29 +++ mod_mime.c 2000/11/19 18:52:21 1.30 @@ -837,7 +837,7 @@ mime_dir_config *conf = (mime_dir_config *) ap_get_module_config(r->per_dir_config, &mime_module); - apr_table_do(filter_chain, r, conf->filter_names, r->content_type, NULL); + apr_table_do(filter_chain, r, conf->filter_names, r->handler, NULL); } static void register_hooks(void)