Re: Strange error in log when trying to implement PerlTypeHandler

2005-07-20 Thread Michele Gherlone
On Wed, 20 Jul 2005 12:05:34 +0200 Stas Bekman <[EMAIL PROTECTED]> wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* Michele Gherlone wrote: Hi all! I was trying to bypass mod_mime for certain mime type, and I wrote this small handler: ---

Re: Strange error in log when trying to implement PerlTypeHandler

2005-07-20 Thread Geoffrey Young
>> I really wish I could know where this error comes from. Perhaps from >> mod_mime itself, or...? > > > grep the apache sources for 'Invalid type' string? I did last night - that error is coming from File::MMagic. --Geoff

Re: Strange error in log when trying to implement PerlTypeHandler

2005-07-20 Thread Stas Bekman
Michele Gherlone wrote: Hi all! I was trying to bypass mod_mime for certain mime type, and I wrote this small handler: package Apache::MIMEMagic; $Apache::MIMEMagic::VERSION='0.10'; use Apache2::Const -compile => qw(OK DECLINED); use File::MMagic; use strict;