[opencms-dev] Problem with binary files with IE

Andras Balogh andras at reea.net
Wed Dec 22 10:35:14 CET 2004


Hello,

    I guess the problem is with Tomcat settings, try to define ppt and 
xls as mime-types in web.xml:
<mime-mapping>
        <extension>xls</extension>
        <mime-type>application/m$-excel ??</mime-type>
</mime-mapping>
   You should look up the correct mimetype for xls and ppt ;)

Best regards,
Andras.

pasijtj at evtek.fi wrote:

>Hi,
>
>I have a problem opening binary files in OpenCMS with Internet Explorer. I have
>uploaded some .ppt and .xls -files to CMS and everything seems to work fine as
>long as I'm browsing files offline. As soon as I publish the files and try to
>open them online, IE doesn't seem to understand them anymore. I just get some
>binary crap on the screen. With Firefox everything works fine. Has anyone had
>the same problem? Any suggestions how to fix it (Change browser is not
>acceptable answer since the clients won't do it)?
>
>Development environment:
>Windows XP Professional
>Internet Explorer 6.0.29000.2180.xpsp_sp2_rtm.040803-2158
>Apache Tomcat 4.1.31
>OpenCms 5.01
>MySQL 4.0.22
>
>I've already tried to add .ppt and .xls to Administration > Resource Type
>Management
>
>Thanks!
>
>-pade
>
>
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>  
>




More information about the opencms-dev mailing list