summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-11-19 19:52:21 +0100
committerRyan Bloom <rbb@apache.org>2000-11-19 19:52:21 +0100
commit1206c2c37d42659e2f0655462ddc88f7fc1a8525 (patch)
treec96aeacfe8039d48b678c5b961ab09a8f08f50ae /modules
parent Disable two features, with warnings, if a relatively Win32 SDK headers (diff)
downloadapache2-1206c2c37d42659e2f0655462ddc88f7fc1a8525.tar.xz
apache2-1206c2c37d42659e2f0655462ddc88f7fc1a8525.zip
Update the SetFilter directive to work with Handlers instead of MIME-types.
This also updates the docs to reflect the change. Submitted by: Joshua Slive Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87028 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/http/mod_mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/http/mod_mime.c b/modules/http/mod_mime.c
index 32ecc16b1e..05f4b2edd3 100644
--- a/modules/http/mod_mime.c
+++ b/modules/http/mod_mime.c
@@ -837,7 +837,7 @@ static void mime_insert_filter(request_rec *r)
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)