At Fri, 30 Aug 2002 20:15:39 +1000, Nathan McKinlay wrote:
> [Tue Aug 30 22:10:20 2050] [error] (2)No such file or directory:
> mod_mime_magic: can't read magic file /etc/apache/share/magic
>
> what's the "magic file" it keeps saying it can't find?
it looks like a configuration bug in the woody apache packages :(
in /etc/apache/httpd.conf, you'll have a section like the following:
<IfModule mod_mime_magic.c>
MIMEMagicFile share/magic
</IfModule>
having just tried to do so here, it seems you can't just point this at
the "normal" magic file (/usr/share/misc/magic in woody) - since that
uses some fancy syntax features that mod_mime_magic doesn't like.
iirc, there used to be a special "apache friendly" magic file sitting
in /etc/apache/magic. its probably moved/gone/a bug :(
you most likely don't need mod_mime_magic anyway, so you can just
comment out the "LoadModule mod_mime_magic" line to disable it (it
won't be working at the moment anyway).
--
- Gus
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug