diff options
| author | Jan Kaluza <hanzz.k@gmail.com> | 2013-03-27 09:42:23 +0100 |
|---|---|---|
| committer | Jan Kaluza <hanzz.k@gmail.com> | 2013-03-27 09:42:23 +0100 |
| commit | f3b6742d9b6845015a35166ef9699e36a5139948 (patch) | |
| tree | 514817f2bcc8fc7829ad61559f8110c1fe939a13 | |
| parent | ef6affde7d5712111960519618e349653f3d17a8 (diff) | |
| download | httpd-f3b6742d9b6845015a35166ef9699e36a5139948.tar.gz httpd-f3b6742d9b6845015a35166ef9699e36a5139948.tar.xz httpd-f3b6742d9b6845015a35166ef9699e36a5139948.zip | |
protect MIMEMagicFile with IfModule (#893949)
| -rw-r--r-- | httpd.conf | 14 | ||||
| -rw-r--r-- | httpd.spec | 5 |
2 files changed, 12 insertions, 7 deletions
@@ -315,12 +315,14 @@ LogLevel warn # AddDefaultCharset UTF-8 -# -# The mod_mime_magic module allows the server to use various hints from the -# contents of the file itself to determine its type. The MIMEMagicFile -# directive tells the module where the hint definitions are located. -# -MIMEMagicFile conf/magic +<IfModule mime_magic_module> + # + # The mod_mime_magic module allows the server to use various hints from the + # contents of the file itself to determine its type. The MIMEMagicFile + # directive tells the module where the hint definitions are located. + # + MIMEMagicFile conf/magic +</IfModule> # # Customizable error responses come in three flavors: @@ -14,7 +14,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.4.4 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://httpd.apache.org/ Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 Source1: index.html @@ -604,6 +604,9 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/rpm/macros.httpd %changelog +* Tue Mar 26 2013 Jan Kaluza <jkaluza@redhat.com> - 2.4.4-3 +- protect MIMEMagicFile with IfModule (#893949) + * Tue Feb 26 2013 Joe Orton <jorton@redhat.com> - 2.4.4-2 - really package mod_auth_form in mod_session (#915438) |
