View Single Post
  #3  
Old 17th March 2009, 20:20
anw anw is offline
Member
 
Join Date: Feb 2007
Posts: 53
Thanks: 0
Thanked 6 Times in 6 Posts
Default

This shows apache2 on
Quote:
*:www
.

In conf.d, apache2-doc contains:
Quote:
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/usr/share/doc/apache2-doc/manual/$1"
AliasMatch ^/apache2-default/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/usr/share/doc/apache2
-doc/manual/$1"

<Directory "/usr/share/doc/apache2-doc/manual/">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
AddDefaultCharset off

<Files *.html>
SetHandler type-map
</Files>

SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2

LanguagePriority en de es fr ja ko pt-br ru
ForceLanguagePriority Prefer Fallback
</Directory>
There's also charset (a single line adding a default charset) and mod-jk.auto

Thanks!
Reply With Quote