diff options
author | André Malo <nd@apache.org> | 2003-05-02 00:54:35 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2003-05-02 00:54:35 +0200 |
commit | d9cabd1e8c08006dc678f2a0468f7d43199acd09 (patch) | |
tree | b835bb4e4cee334386050033cd580035d79eaddc /docs/conf/httpd-std.conf.in | |
parent | Forward port a fix for a pair of potential buffer overflows in htdigest from 1.3 (diff) | |
download | apache2-d9cabd1e8c08006dc678f2a0468f7d43199acd09.tar.xz apache2-d9cabd1e8c08006dc678f2a0468f7d43199acd09.zip |
introduce cross-language links. The links to all available languages of a
document will show up on the top and the bottom of a page.
Additionally, change the default config to deliver the desired results.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99684 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/conf/httpd-std.conf.in')
-rw-r--r-- | docs/conf/httpd-std.conf.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index ecdddbd195..43de0f753c 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -571,13 +571,16 @@ 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. # - Alias /manual "@exp_manualdir@" + AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "@exp_manualdir@$1" <Directory "@exp_manualdir@"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all + + SetEnvIf Request_URI ^/manual/(de|en|fr|ja|ko|ru)/ prefer-language=$1 + RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 </Directory> # |