From b74e119fee8bf9baa89760c319f594ea1e9aa5e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Thu, 6 Jan 2005 11:22:56 +0000 Subject: [PATCH] update config for pt-br inclusion git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124362 13f79535-47bb-0310-9956-ffa450edef68 --- docs/conf/httpd-std.conf.in | 7 ++++--- docs/conf/httpd-win.conf | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index 3ebd84ebd7..795ae10861 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -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" Options Indexes @@ -586,8 +587,8 @@ ServerSignature On SetHandler type-map - 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 # diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 3723439cc4..9d6b6ed771 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -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" Options Indexes @@ -550,8 +551,8 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "@@ServerRoot@@/manual$ SetHandler type-map - 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 # -- 2.40.0