]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fixup on .tr extension
authorAndré Malo <nd@apache.org>
Fri, 21 Mar 2008 23:43:07 +0000 (23:43 +0000)
committerAndré Malo <nd@apache.org>
Fri, 21 Mar 2008 23:43:07 +0000 (23:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@639915 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/httpd-std.conf.in
docs/conf/httpd-win.conf

index 201ea328fd44d5d763c788d84d64579c819a77d7..9440bba62a0ea0ba07abb13721e3de058653ced3 100644 (file)
@@ -573,6 +573,10 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru|tr))?(/.*)?$ "@exp_manualdir@$1"
     <Files *.html>
         SetHandler type-map
     </Files>
+    <!-- .tr is text/troff in mime.types! -->
+    <Files *.html.tr.utf8>
+        ForceType text/html
+    </Files>
 
     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
index adfee07f3b557660fdee38995c9cd62a1b0de5d6..533806b46f5105634d576526b90d19716e3a51ca 100644 (file)
@@ -499,6 +499,10 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru|tr))?(/.*)?$ "@@ServerRoot@@/manu
     <Files *.html>
         SetHandler type-map
     </Files>
+    <!-- .tr is text/troff in mime.types! -->
+    <Files *.html.tr.utf8>
+        ForceType text/html
+    </Files>
 
     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