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/trunk/
7 # Required modules: mod_alias, mod_setenvif, mod_negotiation
10 AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ "@exp_manualdir@$1"
12 <Directory "@exp_manualdir@">
20 # .tr is text/troff in mime.types!
21 <Files *.html.tr.utf8>
25 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru|tr)/ prefer-language=$1
26 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru|tr)){2,}(/.*)?$ /manual/$1$2
28 LanguagePriority en de es fr ja ko pt-br ru tr
29 ForceLanguagePriority Prefer Fallback