File: apache2-doc.conf

package info (click to toggle)
apache2 2.0.54-5sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,260 kB
  • ctags: 176
  • sloc: sh: 533; makefile: 367; python: 209; perl: 127
file content (16 lines) | stat: -rw-r--r-- 619 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AliasMatch ^/apache2-default/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "/usr/share/doc/apache2-doc/manual/$1"
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "/usr/share/doc/apache2-doc/manual/$1"
<Directory "/usr/share/doc/apache2-doc/manual/">
    Options Indexes
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from  127.0.0.0/255.0.0.0 ::1/128

    <Files *.html>
	SetHandler type-map
    </Files>
									
    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1
    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
</Directory>