Bug 15895

Summary: Wrong position of magic-file
Product: [Retired] Red Hat Linux Reporter: Enrico Scholz <rh-bugzilla>
Component: apacheAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-14 15:16:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2000-08-09 23:11:34 UTC
When enabling the mod_mime_magic module, the clause

| <IfModule mod_mime_magic.c>
|     MIMEMagicFile share/magic
| </IfModule>

(/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).

Comment 1 Preston Brown 2000-08-14 15:16:27 UTC
nalin:  Make sure it reads /usr/share/magic.

Comment 2 Nalin Dahyabhai 2000-08-15 20:57:33 UTC
Should be fixed in apache-1.3.12-23 and later.