From: André Malo Date: Sat, 5 Jul 2003 21:18:15 +0000 (+0000) Subject: simplify type-map config X-Git-Tag: pre_ajp_proxy~1483 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56b680dd3eb2c3f7447311f496df71d8a99069de;p=apache simplify type-map config git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100456 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index ba7540acb7..7689578919 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -579,9 +579,8 @@ ServerSignature On Order allow,deny Allow from all - AddHandler type-map .html - - RemoveHandler .html + + SetHandler type-map SetEnvIf Request_URI ^/manual/(de|en|fr|ja|ko|ru)/ prefer-language=$1 diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 117aa93732..ff4d222ef7 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -502,9 +502,8 @@ AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "@@ServerRoot@@/manual$1" Order allow,deny Allow from all - AddHandler type-map .html - - RemoveHandler .html + + SetHandler type-map SetEnvIf Request_URI ^/manual/(de|en|fr|ja|ko|ru)/ prefer-language=$1