summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--2.2/conf/modules.d/00_apache_manual.conf4
-rw-r--r--2.4/conf/modules.d/00_apache_manual.conf6
2 files changed, 9 insertions, 1 deletions
diff --git a/2.2/conf/modules.d/00_apache_manual.conf b/2.2/conf/modules.d/00_apache_manual.conf
index 8825f84..1aaeceb 100644
--- a/2.2/conf/modules.d/00_apache_manual.conf
+++ b/2.2/conf/modules.d/00_apache_manual.conf
@@ -2,6 +2,8 @@
# http://yourserver.example.com/manual/
# The documentation is always available at
# http://httpd.apache.org/docs/2.2/
+<IfModule negotiation_module>
+<IfModule setenvif_module>
<IfDefine MANUAL>
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br))?(/.*)?$ "/usr/share/doc/apache-VERSION/manual$1"
@@ -21,6 +23,8 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br))?(/.*)?$ "/usr/share/doc/apac
LanguagePriority en de es fr ja ko pt-br
ForceLanguagePriority Prefer Fallback
</Directory>
+</IfModule>
+</IfModule>
</IfDefine>
# vim: ts=4 filetype=apache
diff --git a/2.4/conf/modules.d/00_apache_manual.conf b/2.4/conf/modules.d/00_apache_manual.conf
index 5388d96..5055405 100644
--- a/2.4/conf/modules.d/00_apache_manual.conf
+++ b/2.4/conf/modules.d/00_apache_manual.conf
@@ -1,7 +1,9 @@
# Provide access to the documentation on your server as
# http://yourserver.example.com/manual/
# The documentation is always available at
-# http://httpd.apache.org/docs/2.2/
+# http://httpd.apache.org/docs/2.4/
+<IfModule negotiation_module>
+<IfModule setenvif_module>
<IfDefine MANUAL>
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br))?(/.*)?$ "/usr/share/doc/apache-VERSION/manual$1"
@@ -20,6 +22,8 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br))?(/.*)?$ "/usr/share/doc/apac
LanguagePriority en de es fr ja ko pt-br
ForceLanguagePriority Prefer Fallback
</Directory>
+</IfModule>
+</IfModule>
</IfDefine>
# vim: ts=4 filetype=apache