Red Hat Bugzilla – Bug 15895
Wrong position of magic-file
Last modified: 2008-05-01 11:37:57 EDT
When enabling the mod_mime_magic module, the clause
| <IfModule mod_mime_magic.c>
| MIMEMagicFile share/magic
(/etc/httpd/conf/httpd.conf:552) will be evaluated. Effectively it tries to
read `/etc/httpd/share/magic'. This fails because the magic file is
installed in /etc/httpd/conf/magic.
Either change the MIMEMagicFile entry to this position or let it point to
the more extended /usr/share/magic file.
Because both magic files are having the same purpose, one of them seems to
be superfluously (see #14741 also).
nalin: Make sure it reads /usr/share/magic.
Should be fixed in apache-1.3.12-23 and later.