diff options
author | Chuck Short <zul@gentoo.org> | 2004-06-10 22:56:54 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-06-10 22:56:54 +0000 |
commit | c99f929a5e37649d7301ddb45c70d8e4586c0929 (patch) | |
tree | 64141a281e2d91237b17ec71efd381d6870a46b8 /net-www/apache/files | |
parent | typo fix (Manifest recommit) (diff) | |
download | gentoo-2-c99f929a5e37649d7301ddb45c70d8e4586c0929.tar.gz gentoo-2-c99f929a5e37649d7301ddb45c70d8e4586c0929.tar.bz2 gentoo-2-c99f929a5e37649d7301ddb45c70d8e4586c0929.zip |
Make doc easier to maintain.
Diffstat (limited to 'net-www/apache/files')
-rw-r--r-- | net-www/apache/files/00_apache_manual.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-www/apache/files/00_apache_manual.conf b/net-www/apache/files/00_apache_manual.conf new file mode 100644 index 000000000000..542ace48593c --- /dev/null +++ b/net-www/apache/files/00_apache_manual.conf @@ -0,0 +1,25 @@ +Alias /manual "/usr/share/doc/apache-2.0.49/manual" + +<IfModule mod_alias.c> + AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/usr/share/doc/apache-2.0.49/manual/$1" +</IfModule> + + + +<Directory "/usr/share/doc/apache-2.0.49/manual"> + Options Indexes + AllowOverride None + Order allow,deny + Allow from all + + <Files *.html> + SetHandler type-map + </Files> + SetEnvIf Request_URI ^/manual/de/ prefer-language=de + SetEnvIf Request_URI ^/manual/en/ prefer-language=en + SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr + SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja + SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko + SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru + RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 +</Directory> |