Opened 18 years ago
Closed 18 years ago
#118 closed enhancement (fixed)
Adding mime types for openoffice files on main site — at Version 1
Reported by: | tmitchell | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | WebSite | Keywords: | drupal apache mime openoffice |
Cc: |
Description (last modified by )
There were some problems downloading .ods, .odt, .odp files from www.osgeo.org/files URLs. The file would download as raw text into the requesting web browser.
To solve the problem I added all the opendocument related mime-types to /etc/mime.types file. There is a /etc/mime.types.bak for you to compare the changes I made. This solved the problem after apache was restarted and browser cached reset.
# Addendum to /etc/mime.types # OpenOffice.org (version >= 2.0) and Sun StarOffice (version >= 8) application/vnd.oasis.opendocument.database odb application/vnd.oasis.opendocument.chart odc application/vnd.oasis.opendocument.formula odf application/vnd.oasis.opendocument.graphics odg application/vnd.oasis.opendocument.image odi application/vnd.oasis.opendocument.text-master odm application/vnd.oasis.opendocument.presentation odp application/vnd.oasis.opendocument.spreadsheet ods application/vnd.oasis.opendocument.text odt application/vnd.oasis.opendocument.graphics-template otg application/vnd.oasis.opendocument.text-web oth application/vnd.oasis.opendocument.presentation-template otp application/vnd.oasis.opendocument.spreadsheet-template ots application/vnd.oasis.opendocument.text-template ott # OpenOffice.org (version <= 1.1.4) and Sun StarOffice (version >= 6.0) application/vnd.sun.xml.calc.template stc application/vnd.sun.xml.draw.template std application/vnd.sun.xml.impress.template sti application/vnd.sun.xml.writer.template stw application/vnd.sun.xml.calc sxc application/vnd.sun.xml.draw sxd application/vnd.sun.xml.writer.global sxg application/vnd.sun.xml.impress sxi application/vnd.sun.xml.math sxm application/vnd.sun.xml.writer sxw # StarDivision and Sun StarOffice (4.0 < version <= 5.2) application/vnd.stardivision.draw sda application/vnd.stardivision.calc sdc application/vnd.stardivision.impress sdd application/vnd.stardivision.mail sdm application/vnd.stardivision.impress.packed sdp application/vnd.stardivision.chart sds application/vnd.stardivision.writer sdw vob vor application/vnd.stardivision.writer-global sgl application/vnd.stardivision.math smf
Change History (1)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.