commit: 27591ef209318503ced0f9c421aa3d1dd84a3a6b Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Thu May 22 12:10:29 2014 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Thu May 22 12:10:29 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commit;h=27591ef2
Added some module dependencies to 00_apache_manual.conf --- 2.2/conf/modules.d/00_apache_manual.conf | 4 ++++ 2.4/conf/modules.d/00_apache_manual.conf | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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
