Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-perl/File-MMagic and excel xls mime type
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 378

PostPosted: Thu Apr 26, 2012 7:10 am    Post subject: dev-perl/File-MMagic and excel xls mime type Reply with quote

Hi,

I'm using dev-perl/File-MMagic to determine mime types.
It doesn't seem to work well with Microsoft Excel 97-2003 documents. File-MMagic detects these as application/msword.
So if I use File-MMagic within Apache in order to rewrite content types, the browser clients may open the .xls document in MSWord application.

I'm not sure if File-MMagic is actively maintained. Is there a Perl alternative?

Thanks,

Vieri
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum