2006-12-20 18:01:15 +01:00
|
|
|
#
|
|
|
|
# This configuration file belongs to the apache2-doc package.
|
|
|
|
#
|
|
|
|
# The alias provides the manual, even if you choose to move your DocumentRoot.
|
2013-11-11 15:10:25 +01:00
|
|
|
# Comment this out if you do not care for the documentation.
|
2006-12-20 18:01:15 +01:00
|
|
|
#
|
|
|
|
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "/usr/share/apache2/manual$1"
|
|
|
|
|
|
|
|
<Directory "/usr/share/apache2/manual">
|
|
|
|
Options Indexes
|
|
|
|
AllowOverride None
|
2015-05-26 10:17:52 +02:00
|
|
|
<IfModule !mod_access_compat.c>
|
|
|
|
Require all granted
|
|
|
|
</IfModule>
|
|
|
|
<IfModule mod_access_compat.c>
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</IfModule>
|
2006-12-20 18:01:15 +01:00
|
|
|
|
|
|
|
<Files *.html>
|
|
|
|
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
|
|
|
|
</Directory>
|
|
|
|
|