summaryrefslogtreecommitdiffstats
path: root/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.conf')
-rw-r--r--httpd.conf14
1 files changed, 8 insertions, 6 deletions
diff --git a/httpd.conf b/httpd.conf
index fc7bf34..a7af0dc 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -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: