| OLD | NEW |
| (Empty) | |
| 1 # |
| 2 # Provide access to the documentation on your server as |
| 3 # http://yourserver./manual/ |
| 4 # The documentation is always available at |
| 5 # http://httpd.apache.org/docs/2.2/ |
| 6 # |
| 7 # Required modules: mod_alias, mod_setenvif, mod_negotiation |
| 8 # |
| 9 |
| 10 AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ "D:/src/httpd/
manual$1" |
| 11 |
| 12 <Directory "D:/src/httpd/manual"> |
| 13 Options Indexes |
| 14 AllowOverride None |
| 15 Order allow,deny |
| 16 Allow from all |
| 17 |
| 18 <Files *.html> |
| 19 SetHandler type-map |
| 20 </Files> |
| 21 # .tr is text/troff in mime.types! |
| 22 <Files *.html.tr.utf8> |
| 23 ForceType text/html |
| 24 </Files> |
| 25 |
| 26 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru|tr)/ prefer-langua
ge=$1 |
| 27 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru|tr)){2,}(/.*)?$ /m
anual/$1$2 |
| 28 |
| 29 LanguagePriority en de es fr ja ko pt-br ru tr |
| 30 ForceLanguagePriority Prefer Fallback |
| 31 </Directory> |
| OLD | NEW |