From 56b680dd3eb2c3f7447311f496df71d8a99069de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Sat, 5 Jul 2003 21:18:15 +0000 Subject: [PATCH] simplify type-map config git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100456 13f79535-47bb-0310-9956-ffa450edef68 --- docs/conf/httpd-std.conf.in | 5 ++--- docs/conf/httpd-win.conf | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) 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 -- 2.40.0