fix autoindex.conf to allow symlink to poweredby.png
This commit is contained in:
parent
47e1c65996
commit
e4b721f97c
14
httpd-2.4.2-iconlink.patch
Normal file
14
httpd-2.4.2-iconlink.patch
Normal 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>
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user