[httpd] fix manual.conf

jorton jorton at fedoraproject.org
Fri Mar 23 14:51:58 UTC 2012


commit dd94df0be1191c0cd76a708d1ccbc45da537ac9f
Author: Joe Orton <jorton at redhat.com>
Date:   Tue Mar 13 16:58:07 2012 +0000

    fix manual.conf

 httpd.spec  |    6 ++++--
 manual.conf |   11 +++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/httpd.spec b/httpd.spec
index 5b21c23..82c32ad 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -30,6 +30,7 @@ Source19: 00-proxyhtml.conf
 Source20: userdir.conf
 Source21: ssl.conf
 Source22: welcome.conf
+Source23: manual.conf
 # Documentation
 Source30: README.confd
 # build/scripts patches
@@ -240,13 +241,13 @@ for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.conf \
         $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
 done
 
-for f in welcome.conf ssl.conf userdir.conf; do
+for f in welcome.conf ssl.conf manual.conf userdir.conf; do
   install -m 644 -p $RPM_SOURCE_DIR/$f \
         $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/$f
 done
 
 # Split-out extra config shipped as default in conf.d:
-for f in manual autoindex; do
+for f in autoindex; do
   mv docs/conf/extra/httpd-${f}.conf \
         $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/${f}.conf
 done
@@ -554,6 +555,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Tue Mar 13 2012 Joe Orton <jorton at redhat.com> - 2.4.1-4
 - fix symlink for poweredby.png
+- fix manual.conf
 
 * Tue Mar 13 2012 Joe Orton <jorton at redhat.com> - 2.4.1-3
 - add mod_proxy_html subpackage (w/mod_proxy_html + mod_xml2enc)
diff --git a/manual.conf b/manual.conf
new file mode 100644
index 0000000..d09757d
--- /dev/null
+++ b/manual.conf
@@ -0,0 +1,11 @@
+#
+# This configuration file allows the manual to be accessed at 
+# http://localhost/manual/
+#
+AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/usr/share/httpd/manual$1"
+
+<Directory "/usr/share/httpd/manual">
+    Options Indexes
+    AllowOverride None
+    Require all granted
+</Directory>


More information about the scm-commits mailing list