[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

magic.mime (was: apache)



* mi (Michael.Wordehoff@gmx.de) [030703 14:50]:
> 2) Where is mime_magic ?
> 
> This is filling up the log:
> 
> # /var/log/apache/error.log:
> 
> [Wed Jul  2 19:09:08 2003] [error] (2)No such file or directory:
> mod_mime_magic: can't read magic file /etc/apache/share/magic
> 
> Though /etc/apache/httpd.conf says it's expected to be like
> MIMEMagicFile share/magic
> there's no directory 'share' in the server-root;  only a symlink to 
> /etc/mime.types.

Yeah, this is a bug.  The warning is harmless, but to get rid of it, try
changing to this:

<IfModule mod_mime_magic.c>
    MIMEMagicFile /usr/share/misc/magic.mime
</IfModule>

That file is part of the 'file' package, so install that if you don't
already have it.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
"If you can put it on a T-shirt, it's speech... To enjoin the T-shirts as a
circumvention device is ludicrous." --Robin Gross, EFF staff attorney

Attachment: signature.asc
Description: Digital signature


Reply to: