From 9fd4bedc43628d2c45f7e0b026c5d3c198d9531b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Sat, 7 Jun 2003 23:44:38 +0000 Subject: [PATCH] adjust config to work with typemaps. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- docs/conf/httpd-std.conf.in | 7 ++++++- docs/conf/httpd-win.conf | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) 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 -- 2.40.0