Bug 173789

Summary: mime.types is missing the right associations to OpenOffice.org documents
Product: [Fedora] Fedora Reporter: Reuben Farrelly <reuben-redhatbugzilla>
Component: mailcapAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ndai, nsoranzo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-13 13:00:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221    

Description Reuben Farrelly 2005-11-21 06:38:40 UTC
At present if we attempt to serve up OpenOffice documents with Apache, the mime
type is not recognised - it defaults to txt/plain:

ie:

[root@tornado ~]# telnet www 80
Trying 192.168.0.6...
Connected to www.
Escape character is '^]'.
HEAD /files/Resume%20-%20NZ.odt HTTP/1.0
Host: drupal.internal.net

HTTP/1.1 200 OK
Date: Mon, 21 Nov 2005 06:28:01 GMT
Server: Apache/2.0.54 (Fedora)
Last-Modified: Mon, 21 Nov 2005 06:12:55 GMT
ETag: "6bc-66e6-2d86e7c0"
Accept-Ranges: bytes
Content-Length: 26342
Cache-Control: max-age=86400
Expires: Tue, 22 Nov 2005 06:28:01 GMT
Connection: close
Content-Type: text/plain; charset=UTF-8

This is a problem because the client browser cannot handle the unknown format,
and we end up with rubbish in the browser (in my case, Firefox).

A document describing the new mime types is here:

http://framework.openoffice.org/documentation/mimetypes/mimetypes.html

Please add these to /etc/mime.types so that they are system wide.  I think this
would be a better idea than adding them to httpd.conf.

Comment 1 Miroslav Lichvar 2006-02-13 13:00:39 UTC
Fixed in rawhide.

Comment 2 Miroslav Lichvar 2008-03-11 13:57:17 UTC
*** Bug 201007 has been marked as a duplicate of this bug. ***