Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 173789

Summary: mime.types is missing the right associations to 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   
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:
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:


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

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:

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. ***