]> granicus.if.org Git - apache/commitdiff
update config for pt-br inclusion
authorAndré Malo <nd@apache.org>
Thu, 6 Jan 2005 11:22:56 +0000 (11:22 +0000)
committerAndré Malo <nd@apache.org>
Thu, 6 Jan 2005 11:22:56 +0000 (11:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124362 13f79535-47bb-0310-9956-ffa450edef68

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

index 3ebd84ebd70d8adfef47f439a4e85123e8bcb7b0..795ae108613afd4d0f14ae8f59fd9066fa04f525 100644 (file)
@@ -574,7 +574,8 @@ ServerSignature On
     # the manual, even if you choose to move your DocumentRoot.  You may
     # comment this out if you do not care for the documentation.
     #
-    AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "@exp_manualdir@$1"
+    AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ \
+        "@exp_manualdir@$1"
 
     <Directory "@exp_manualdir@">
         Options Indexes
@@ -586,8 +587,8 @@ ServerSignature On
             SetHandler type-map
         </Files>
 
-        SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1
-        RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
+        SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
+        RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
     </Directory>
 
     #
index 3723439cc43d07f06c49f9fdb085134f33fb153b..9d6b6ed77111e9ff23a47560a9cf9f86b9f0493e 100644 (file)
@@ -538,7 +538,8 @@ Alias /icons/ "@@ServerRoot@@/icons/"
 # the manual, even if you choose to move your DocumentRoot.  You may comment
 # this out if you do not care for the documentation.
 #
-AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "@@ServerRoot@@/manual$1"
+AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ \
+    "@@ServerRoot@@/manual$1"
 
 <Directory "@@ServerRoot@@/manual">
     Options Indexes
@@ -550,8 +551,8 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "@@ServerRoot@@/manual$
         SetHandler type-map
     </Files>
 
-    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1
-    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
+    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
+    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
 </Directory>
 
 #