From: nate <squ...@li...> - 2002-06-04 18:42:20
|
> Urgent Question > > I am running SM 1.2.5 > Solaris 8 > Apache > > When a user is sent an email with a PDF file attachment SM shows it as > "Application/octet-stream". When the user trys to click on it with IE > they get an active-x message. > > How can I change this to be "Application/PDF" which is the way I think it > should be. > > Everything looks fine in the apache mime.types file. check apache's config to be sure its using that file. i am using SM 1.2.5 on debian, and it uses /etc/mime.types and it has: application/pdf pdf when i emailed myself a PDF it came up as application/pdf to rule out SM and PHP try to download a PDF from outside of SM and see what happens my apache config for mime: LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so LoadModule mime_module /usr/lib/apache/1.3/mod_mime_ssl.so TypesConfig /etc/mime.types <IfModule mod_mime_magic.c> MIMEMagicFile share/magic <IfModule mod_mime.c> nate |