You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jason Bassford <ja...@dante.com> on 1998/08/13 15:50:19 UTC

config/2847: BMP files display as garbage and when downloaded the file gets corrupted.

>Number:         2847
>Category:       config
>Synopsis:       BMP files display as garbage and when downloaded the file gets corrupted.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 13 08:10:01 PDT 1998
>Last-Modified:
>Originator:     jasonb@dante.com
>Organization:
apache
>Release:        1.3.1
>Environment:
Apache under both Linux 2.0.30 and NT 4.0.
>Description:
When clicking on a BMP file "garbage txt" is displayed on screen.  After saving the link and looking at it locally, the image is "warped" and the filesize is different than the source.
>How-To-Repeat:
Put a BMP file onto any Web site running Apache and try viewing it.
>Fix:
Add the following line to the "mime.types" file:

image/x-MS-bmp  bmp

It's not really a "bug" but a pretty strange omission that support for BMP files does not come as part of the default Apache install.  Granted this may be a Netscape specific mime type (I'm not sure) but it should at least support Netscape and IE...

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]