1 # Provide access to the documentation on your server as
2 # http://yourserver.example.com/manual/
3 # The documentation is always available at
4 # https://httpd.apache.org/docs/2.4/
6 # Required modules: mod_alias, mod_setenvif, mod_negotiation
7 # mod_setenvif, mod_negotiation
10 AliasMatch ^/manual(?:/(?:da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn))?(/.*)?$ "/home/services/httpd/manual$1"
12 <Directory "/home/services/httpd/manual">
16 <IfModule mod_access_compat.c>
24 # .tr is text/troff in mime.types!
25 <Files *.html.tr.utf8>
31 SetEnvIf Request_URI ^/manual/(da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn)/ prefer-language=$
32 RedirectMatch 301 ^/manual(?:/(da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn)){2,}(/.*)?$ /manual/$1$2
34 LanguagePriority en da de es fr ja ko pt-br ru tr
35 ForceLanguagePriority Prefer Fallback