]> git.pld-linux.org Git - packages/apache.git/blame - apache-manual.conf
- verbose list mod_proxy files
[packages/apache.git] / apache-manual.conf
CommitLineData
86dece47
ER
1#
2# Provide access to the documentation on your server as
3# http://yourserver.example.com/manual/
4# The documentation is always available at
5# http://httpd.apache.org/docs/2.2/
6#
7# Required modules: mod_alias, mod_setenvif, mod_negotiation
8#
9
10AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/home/services/httpd/manual$1"
11
12<Directory "/home/services/httpd/manual">
408714fc
ER
13 Options Indexes
14 AllowOverride None
40ca719a 15 Require all granted
86dece47 16
408714fc
ER
17 <Files *.html>
18 SetHandler type-map
19 </Files>
86dece47 20
408714fc
ER
21 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
22 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
86dece47 23
408714fc
ER
24 LanguagePriority en de es fr ja ko pt-br ru
25 ForceLanguagePriority Prefer Fallback
86dece47 26</Directory>
This page took 0.030257 seconds and 4 git commands to generate.