From: André Malo Date: Sat, 7 Jun 2003 23:44:38 +0000 (+0000) Subject: adjust config to work with typemaps. X-Git-Tag: pre_ajp_proxy~1555 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fd4bedc43628d2c45f7e0b026c5d3c198d9531b;p=apache adjust config to work with typemaps. argh. Forget to mention all the time (sorry): The typmap stuff was Reviewed by: Erik Abele, Astrid Ke�ler git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100197 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index 93482fad50..ba7540acb7 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -574,11 +574,16 @@ ServerSignature On AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "@exp_manualdir@$1" - Options Indexes FollowSymLinks MultiViews + Options Indexes AllowOverride None Order allow,deny Allow from all + AddHandler type-map .html + + RemoveHandler .html + + SetEnvIf Request_URI ^/manual/(de|en|fr|ja|ko|ru)/ prefer-language=$1 RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index cc83ccab3d..117aa93732 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -497,11 +497,16 @@ Alias /icons/ "@@ServerRoot@@/icons/" AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "@@ServerRoot@@/manual$1" - Options Indexes FollowSymLinks MultiViews + Options Indexes AllowOverride None Order allow,deny Allow from all + AddHandler type-map .html + + RemoveHandler .html + + SetEnvIf Request_URI ^/manual/(de|en|fr|ja|ko|ru)/ prefer-language=$1 RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2