[opencms-dev] Wrong content type of binary files in download gallery
Daniel Wiesner
daniel.wiesner at av-studio.de
Sun Jul 3 12:59:41 CEST 2005
alexander,
could you please include *.dot -> application/ms-word?
regards
Daniel
Alexander Kandzior schrieb:
> You need to add this to the "mimetypes.properties" located in the
> org.opencms.loader package.
>
> Please let me know which mime types we are missing so we can include
> this in the release version due later this week.
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com <http://www.alkacon.com/>
>
>
>
> ------------------------------------------------------------------------
> *From:* opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] *On Behalf Of *Ronald Lips
> *Sent:* Tuesday, June 28, 2005 4:06 PM
> *To:* opencms-dev at opencms.org
> *Subject:* [opencms-dev] Wrong content type of binary files in
> download gallery
>
> Hi,
>
> I have created a download gallery in OpenCms beta 2 Corrin. I have
> added a 3GP video file to this download gallery. In a web page I
> have created a link to this 3GP file that end users can select to
> download the file. When downloading, the file is not opened by the
> default player for 3GP files on my system (Quicktime), but by my
> browser. This means I get to see the binary content of the file
> instead of a popup window asking me to open the file in my player
> or to store it on disk.
>
> In my opinion, the cause of this is that the content type set by
> OpenCms for a 3GP file is text/html. This causes the browser to
> open the file. I have taken the following actions to set the
> content type correctly to video/3gpp:
>
> * Added a MIME type for the 3gp extension in the web.xml of my
> Tomcat installation and restarted Tomcat
> * Added a MIME type for the 3gp extension in the web.xml of
> OpenCms and restarted OpenCms
> * Added 3gp as binary content in the opencms-vfs.xml
>
> None of these actions worked. Does anyone know the solution to this?
>
> Thanks
> Ronald
>
> *AtoBe Mobile Solutions*
> Ronald Lips
>
> tel: +31 (0)23 750 21 19
> fax: +31 (0)23 750 21 11
> mob: +31 (0)651 18 35 70
> mail: r_onald.lips at atobemobile.com_
> web: _www.atobemobile.com_ <file://www.atobemobile.com>
>
>
>------------------------------------------------------------------------
>
>
>
>_______________________________________________
>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
>
--
-----------------------------------------------------------
AV-Studio Kommunikationsmedien GmbH Halle
Kurallee 13, D-06114 Halle (Saale)
Fon: +49 (0345) 20 999 -0 * Fax: +49 (0345) 20 999 -20
email: office at av-studio.de * http://www.av-studio.de
-----------------------------------------------------------
More information about the opencms-dev
mailing list