Bug 15895 - Wrong position of magic-file
Summary: Wrong position of magic-file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apache
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-09 23:11 UTC by Enrico Scholz
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-14 15:16:29 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.