public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/httpd] rawhide: - load and enable mod_mime_libmagic by default.
@ 2026-10-01 16:32 Joe Orton
  0 siblings, 0 replies; only message in thread
From: Joe Orton @ 2026-10-01 16:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/httpd
Branch : rawhide
Commit : 417e8d51c0e5ec5ef6b54aedb64ca79bf074071b
Author : Joe Orton <jorton@redhat.com>
Date   : 2026-10-01T17:07:17+01:00
Stats  : +8/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/httpd/c/417e8d51c0e5ec5ef6b54aedb64ca79bf074071b?branch=rawhide

Log:
- load and enable mod_mime_libmagic by default.

---
diff --git a/00-base.conf b/00-base.conf
index bae2bf6..5b67c1e 100644
--- a/00-base.conf
+++ b/00-base.conf
@@ -44,6 +44,7 @@ LoadModule log_config_module modules/mod_log_config.so
 LoadModule logio_module modules/mod_logio.so
 LoadModule macro_module modules/mod_macro.so
 LoadModule mime_magic_module modules/mod_mime_magic.so
+LoadModule mime_libmagic_module modules/mod_mime_libmagic.so
 LoadModule mime_module modules/mod_mime.so
 LoadModule negotiation_module modules/mod_negotiation.so
 LoadModule remoteip_module modules/mod_remoteip.so

diff --git a/httpd.conf b/httpd.conf
index ad5c7ee..2a6ef1b 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -331,6 +331,13 @@ LogLevel warn
 #
 AddDefaultCharset UTF-8
 
+<IfModule mime_libmagic_module>
+    #
+    # Use the default magic database from file(1) - this is now used
+    # in preference to the (older) mod_mime_magic database.
+    #
+    MimeLibmagic On
+</IfModule>
 <IfModule mime_magic_module>
     #
     # The mod_mime_magic module allows the server to use various hints from the

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-01 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 16:32 [rpms/httpd] rawhide: - load and enable mod_mime_libmagic by default Joe Orton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox