From e4b721f97c9578fafd9d1d1575bfa36af8f51b72 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 24 May 2012 11:10:58 +0100 Subject: [PATCH] fix autoindex.conf to allow symlink to poweredby.png --- httpd-2.4.2-iconlink.patch | 14 ++++++++++++++ httpd.spec | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 httpd-2.4.2-iconlink.patch 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@/" + + +- Options Indexes MultiViews ++ Options Indexes MultiViews FollowSymlinks + AllowOverride None + Require all granted + 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 - 2.4.2-10 +- fix autoindex.conf to allow symlink to poweredby.png + * Wed May 23 2012 Joe Orton - 2.4.2-9 - suexec: use upstream version of patch for capability bit support