~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to docs/conf/extra/httpd-manual.conf.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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/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))?(/.*)?$ "@exp_manualdir@$1"
 
11
 
 
12
<Directory "@exp_manualdir@">
 
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
 
 
22
    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
 
23
    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
 
24
 
 
25
    LanguagePriority en de es fr ja ko pt-br ru 
 
26
    ForceLanguagePriority Prefer Fallback
 
27
</Directory>