From 0fd492657017cc2916442c4553e6acbcd19b13c0 Mon Sep 17 00:00:00 2001 From: fbrehm Date: Mon, 23 Apr 2012 13:18:14 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 1 + .../modules.d/._cfg0000_00_apache_manual.conf | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 apache2/modules.d/._cfg0000_00_apache_manual.conf diff --git a/.etckeeper b/.etckeeper index 5f4e38d..0ed8648 100755 --- a/.etckeeper +++ b/.etckeeper @@ -148,6 +148,7 @@ maybe chmod 0755 './apache2' maybe chmod 0644 './apache2/httpd.conf' maybe chmod 0644 './apache2/magic' maybe chmod 0755 './apache2/modules.d' +maybe chmod 0644 './apache2/modules.d/._cfg0000_00_apache_manual.conf' maybe chmod 0644 './apache2/modules.d/.keep_www-servers_apache-2' maybe chmod 0644 './apache2/modules.d/00_apache_manual.conf' maybe chmod 0644 './apache2/modules.d/00_default_settings.conf' diff --git a/apache2/modules.d/._cfg0000_00_apache_manual.conf b/apache2/modules.d/._cfg0000_00_apache_manual.conf new file mode 100644 index 0000000..c08b2a6 --- /dev/null +++ b/apache2/modules.d/._cfg0000_00_apache_manual.conf @@ -0,0 +1,26 @@ +# 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/ + +AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br))?(/.*)?$ "/usr/share/doc/apache-2.2.22-r1/manual$1" + + + Options Indexes + AllowOverride None + Order allow,deny + Allow from all + + + SetHandler type-map + + + SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br)/ prefer-language=$1 + RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br)){2,}(/.*)?$ /manual/$1$2 + + LanguagePriority en de es fr ja ko pt-br + ForceLanguagePriority Prefer Fallback + + + +# vim: ts=4 filetype=apache -- 2.39.5