fix autoindex.conf to allow symlink to poweredby.png

This commit is contained in:
Joe Orton 2012-05-24 11:10:58 +01:00
parent 47e1c65996
commit e4b721f97c
2 changed files with 18 additions and 1 deletions

View File

@ -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>

View File

@ -8,7 +8,7 @@
Summary: Apache HTTP Server Summary: Apache HTTP Server
Name: httpd Name: httpd
Version: 2.4.2 Version: 2.4.2
Release: 9%{?dist} Release: 10%{?dist}
URL: http://httpd.apache.org/ URL: http://httpd.apache.org/
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
Source1: index.html Source1: index.html
@ -563,6 +563,9 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/rpm/macros.httpd %{_sysconfdir}/rpm/macros.httpd
%changelog %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 * Wed May 23 2012 Joe Orton <jorton@redhat.com> - 2.4.2-9
- suexec: use upstream version of patch for capability bit support - suexec: use upstream version of patch for capability bit support