[opencms-dev] Wrong content type of binary files indownloadgallery
Ronald Lips
ronald.lips at atobemobile.com
Fri Jul 1 10:20:36 CEST 2005
Hi Alexander,
I understand that you have been busy releasing OpenCms 6.0 (good job,
BTW!), but can please reply the question below?
thanks
Ronald
_____
From: Ronald Lips
Sent: dinsdag 28 juni 2005 17:01
To: The OpenCms mailing list
Subject: RE: [opencms-dev] Wrong content type of binary files
indownloadgallery
Alexandar,
Thanks for your quick reply. I took the following actions:
*
stopped Tomcat
*
opened opencms.jar in opencms/WEB-INF/Lib
*
Extracted mimetypes.properties in the org.opencms.loader package
*
added a line 3gp=video/3gp to this file
*
put the mimetypes.properties back in the jar file
*
started Tomcat
The result is still the same. Am I doing something wrong?
thanks
Ronald
_____
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Alexander Kandzior
Sent: dinsdag 28 juni 2005 16:33
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] Wrong content type of binary files in
downloadgallery
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: ronald.lips at atobemobile.com
web: www.atobemobile.com <file://www.atobemobile.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050701/ad1d2bb0/attachment.htm>
More information about the opencms-dev
mailing list