summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2012-05-24 11:10:58 +0100
committerJoe Orton <jorton@redhat.com>2012-05-24 11:10:58 +0100
commite4b721f97c9578fafd9d1d1575bfa36af8f51b72 (patch)
tree0de8adbc4759dc112704527dbd7cc680c1d30152
parent47e1c65996a1c9438d98238d70014318aeed4b22 (diff)
downloadhttpd-e4b721f97c9578fafd9d1d1575bfa36af8f51b72.tar.gz
httpd-e4b721f97c9578fafd9d1d1575bfa36af8f51b72.tar.xz
httpd-e4b721f97c9578fafd9d1d1575bfa36af8f51b72.zip
fix autoindex.conf to allow symlink to poweredby.png
-rw-r--r--httpd-2.4.2-iconlink.patch14
-rw-r--r--httpd.spec5
2 files changed, 18 insertions, 1 deletions
diff --git a/httpd-2.4.2-iconlink.patch b/httpd-2.4.2-iconlink.patch
new file mode 100644
index 0000000..4ef8dd9
--- /dev/null
+++ b/httpd-2.4.2-iconlink.patch
@@ -0,0 +1,14 @@
+
+Fix config for /icons/ dir to allow symlink to poweredby.png.
+
+--- httpd-2.4.2/docs/conf/extra/httpd-autoindex.conf.in.iconlink
++++ httpd-2.4.2/docs/conf/extra/httpd-autoindex.conf.in
+@@ -21,7 +21,7 @@ IndexOptions FancyIndexing HTMLTable Ver
+ Alias /icons/ "@exp_iconsdir@/"
+
+ <Directory "@exp_iconsdir@">
+- Options Indexes MultiViews
++ Options Indexes MultiViews FollowSymlinks
+ AllowOverride None
+ Require all granted
+ </Directory>
diff --git a/httpd.spec b/httpd.spec
index 4c032ea..4fb30e1 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -8,7 +8,7 @@
Summary: Apache HTTP Server
Name: httpd
Version: 2.4.2
-Release: 9%{?dist}
+Release: 10%{?dist}
URL: http://httpd.apache.org/
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
Source1: index.html
@@ -563,6 +563,9 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/rpm/macros.httpd
%changelog
+* Thu May 24 2012 Joe Orton <jorton@redhat.com> - 2.4.2-10
+- fix autoindex.conf to allow symlink to poweredby.png
+
* Wed May 23 2012 Joe Orton <jorton@redhat.com> - 2.4.2-9
- suexec: use upstream version of patch for capability bit support