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
10 AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/home/services/httpd/manual$1"
12 <Directory "/home/services/httpd/manual">
22 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
23 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
25 LanguagePriority en de es fr ja ko pt-br ru
26 ForceLanguagePriority Prefer Fallback