You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/04/26 21:19:00 UTC

DO NOT REPLY [Bug 8567] New: - JPG problem with MIME

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8567>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8567

JPG problem with MIME

           Summary: JPG problem with MIME
           Product: Apache httpd-2.0
           Version: 2.0.35
          Platform: PC
               URL: http://arthur.life.uiuc.edu
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_mime
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: danield@life.uiuc.edu


I thought I had just messed something up, but we tried this on my boss'es
machine and still had the problem there.  When using the indexing to display
files, if I click on a JPG file, with mozilla 0.99 or netscape 4.76 it comes
across as text.  However if I rename the same file to end with jpg, it then
works fine.  I checked my mime.types file and it looks ok, I even added JPG to
the appropriate line, although it shouldnt mantter and it didnt help.  I also
turned off mime_magic in case that was causing the problem.  We then created a
file a.JPG and a.jpg with just a few letters of text and did the following:

for a.jpg
telnet arthur 80
GET /a.jpg HTTP/1.0
Bla bla bla
Content-Type: image/jpeg
file contents

for a.JPG
telnet arthur 80
GET /a.JPG HTTP/1.0
Bla Bla Bla
Content-Type: text/plain; charset=ISO-8859-1
file contents

Is this my mistake (if so where) or apache's

thanks,

Dan