From: André Malo Date: Fri, 21 Mar 2008 23:43:07 +0000 (+0000) Subject: fixup on .tr extension X-Git-Tag: 2.0.64~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47845e3e9be17f36cbe54294d551c3c8a5394a8d;p=thirdparty%2Fapache%2Fhttpd.git fixup on .tr extension git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@639915 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index 201ea328fd4..9440bba62a0 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -573,6 +573,10 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru|tr))?(/.*)?$ "@exp_manualdir@$1" SetHandler type-map + + + ForceType text/html + SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru|tr)/ prefer-language=$1 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru|tr)){2,}(/.*)?$ /manual/$1$2 diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index adfee07f3b5..533806b46f5 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -499,6 +499,10 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru|tr))?(/.*)?$ "@@ServerRoot@@/manu SetHandler type-map + + + ForceType text/html + SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru|tr)/ prefer-language=$1 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru|tr)){2,}(/.*)?$ /manual/$1$2