Moved apache code into a folder to help prepare for packaging where we dont want...
[httpd-crcsyncproxy.git] / apache / docs / conf / extra / httpd-manual.conf.in
blobf128525cef71413b65f5c28b3bfcc109e2ea7d70
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@">
13     Options Indexes
14     AllowOverride None
15     Require all granted
17     <Files *.html>
18         SetHandler type-map
19     </Files>
20     # .tr is text/troff in mime.types!
21     <Files *.html.tr.utf8>
22         ForceType text/html
23     </Files>
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
30 </Directory>