]> granicus.if.org Git - apache/commitdiff
Adds the simplified chinese translation to the default manual
authorRich Bowen <rbowen@apache.org>
Thu, 10 Mar 2011 02:33:56 +0000 (02:33 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 10 Mar 2011 02:33:56 +0000 (02:33 +0000)
configuration file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1080109 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/extra/httpd-manual.conf.in

index 20c04f1ae51592dd8655415badd31a0e466a4fd1..29b1094c1fdb3cda164fa99cdab21ef56bb7e929 100644 (file)
@@ -8,7 +8,7 @@
 #                   mod_setenvif, mod_negotiation
 #
 
-AliasMatch ^/manual(?:/(?:da|de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ "@exp_manualdir@$1"
+AliasMatch ^/manual(?:/(?:da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn))?(/.*)?$ "@exp_manualdir@$1"
 
 <Directory "@exp_manualdir@">
     Options Indexes
@@ -25,8 +25,8 @@ AliasMatch ^/manual(?:/(?:da|de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ "@exp_manua
 
     AddLanguage da .da
 
-    SetEnvIf Request_URI ^/manual/(da|de|en|es|fr|ja|ko|pt-br|ru|tr)/ prefer-language=$1
-    RedirectMatch 301 ^/manual(?:/(da|de|en|es|fr|ja|ko|pt-br|ru|tr)){2,}(/.*)?$ /manual/$1$2
+    SetEnvIf Request_URI ^/manual/(da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn)/ prefer-language=$1
+    RedirectMatch 301 ^/manual(?:/(da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn)){2,}(/.*)?$ /manual/$1$2
 
     LanguagePriority en da de es fr ja ko pt-br ru tr
     ForceLanguagePriority Prefer Fallback