/[apache]/trunk/dist/2.2/conf/modules.d/00_apache_manual.conf
Gentoo

Diff of /trunk/dist/2.2/conf/modules.d/00_apache_manual.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 160 Revision 161
1# Provide access to the documentation on your server as
2# http://yourserver.example.com/manual/
3# The documentation is always available at
4# http://httpd.apache.org/docs/2.2/
1<IfDefine MANUAL> 5<IfDefine MANUAL>
2 # Provide access to the documentation on your server as http://yourserver.example.com/manual/
3 # The documentation is always available at http://httpd.apache.org/docs/2.2/
4 <IfModule alias_module> 6<IfModule alias_module>
5 <IfModule setenvif_module> 7<IfModule setenvif_module>
6 <IfModule negotiation_module> 8<IfModule negotiation_module>
7 AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/usr/share/doc/apache-VERSION/manual$1" 9AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/usr/share/doc/apache-VERSION/manual$1"
8 10
9 <Directory "/usr/share/doc/apache-VERSION/manual"> 11<Directory "/usr/share/doc/apache-VERSION/manual">
10 Options Indexes 12 Options Indexes
11 AllowOverride None 13 AllowOverride None
12 Order allow,deny 14 Order allow,deny
13 Allow from all 15 Allow from all
14 16
15 <Files *.html> 17 <Files *.html>
16 SetHandler type-map 18 SetHandler type-map
17 </Files> 19 </Files>
18 20
19 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1 21 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
20 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2 22 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
21 23
22 LanguagePriority en de es fr ja ko pt-br ru 24 LanguagePriority en de es fr ja ko pt-br ru
23 ForceLanguagePriority Prefer Fallback 25 ForceLanguagePriority Prefer Fallback
24 </Directory> 26</Directory>
25 </IfModule>
26 </IfModule>
27 </IfModule> 27</IfModule>
28</IfModule>
29</IfModule>
28</IfDefine> 30</IfDefine>
29 31
30# vim: ts=4 filetype=apache 32# vim: ts=4 filetype=apache

Legend:
Removed from v.160  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.20