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

Re: mod_mime_magic



Axel,

Since I all of these files from the .deb packages, this may be a bug.

Cheers,
-Lars

Hi!

On Tue, Jul 16, 2002 at 11:54:22AM +0200, Lars Noodén wrote:
 I checked my error log this morning and found the following:


     [Tue Jul 16 11:40:47 2002] [error] (2)No such file or directory:
     mod_mime_magic:
     can't read magic file /etc/apache/share/magic
     [Tue Jul 16 11:40:47 2002] [error] (2)No such file or directory:
     mod_mime_magic:
     can't read magic file /etc/apache/share/magic

 Why should apache be looking in /etc/apache/share?

Because the MimeMagicFile directive says, that the magic file is
located at /etc/apache/share/magic?

 httpd.conf contains:

     LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
     LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so


 and /usr/lib/apache/1.3/mod_mime.so exists:
     rw-r--r--    1 root     root        13276 Jun 21 07:09
     /usr/lib/apache/1.3/mod_mime.so

 having been installed as part of apache or apache-common.

Those directives have nothing to do with the locations of the magic
file itself, except that the first one loads the apache module
mod_mime_magic, which interprets the MimeMagicFile directive and then
searches for the magic file. And due to your Apache understanding this
directive, there also should be a mod_mime_magic.so file in
/usr/lib/apache/1.3/, because otherwise the Apache wouldn't start
arguing that it can't find the module itself.

		Regards, Axel
--
Axel Beckert - abe@deuxchevaux.org - http://abe.home.pages.de/



--
To UNSUBSCRIBE, email to debian-apache-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: