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/
7 # Required modules: mod_alias, mod_setenvif, mod_negotiation
8 # mod_setenvif, mod_negotiation
11 AliasMatch ^/manual(?:/(?:da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn))?(/.*)?$ "/home/services/httpd/manual$1"
13 <Directory "/home/services/httpd/manual">
17 <IfModule mod_access_compat.c>
25 # .tr is text/troff in mime.types!
26 <Files *.html.tr.utf8>
32 SetEnvIf Request_URI ^/manual/(da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn)/ prefer-language=$
33 RedirectMatch 301 ^/manual(?:/(da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn)){2,}(/.*)?$ /manual/$1$2
35 LanguagePriority en da de es fr ja ko pt-br ru tr
36 ForceLanguagePriority Prefer Fallback