Home | Reviews | GUIpedia | Forum | Fun500
Brandon | Web Server Issue?At my school, I run a website, and if you open this image (or any image in my directory directly), http://mshs.crcs.wnyric.org/ScottJordan/9dc/DSC_0506.JPG in Internet Explorer, it works fine, but in other browsers it displays as text, anyone have any experience with IIS as to why this is happening? | 2009-04-30 | 1:54 PM |
trolly | Re:Web Server Issue?try to rename the extension ".jpg" in lower case | 2009-04-30 | 1:55 PM |
Brandon | Re:Web Server Issue?Here's a GIF, the file naming has nothing to do with it, and its all images.
http://mshs.crcs.wnyric.org/ScottJordan/images/deer.gif | 2009-04-30 | 1:58 PM |
Todd | Re:Web Server Issue?It's an HTTP issue. The browser knows how to handle files such as images by their MIMEs in a "Content-Type" parameter sent through HTTP. So displaying an image would require a parameter like this: "Content-Type: image/jpeg" or "Content-Type: image/gif". I would imagine IIS is configured incorrectly which is why the browser is interpreting the file as text. | 2009-04-30 | 2:45 PM |
pharoah | Re:Web Server Issue?Todd's right. What happens is that probably your server is sending the wrong MIME type to the browser. Firefox and other serious, web-standards-compliant browsers use this information to determine the type of the content. IE, on the other hand, tries to guess the type from the file extension. | 2009-04-30 | 3:49 PM |
Brandon | Re:Web Server Issue?The tech guys at my school were trying to work it out, with no luck, so maybe I'll see if we can find the MIME config. | 2009-04-30 | 4:10 PM |
pharoah | Re:Web Server Issue?The tech guys at your school actually try? I have a feeling mine do nothing. and they refuse to migrate to the free Gmail for education from their shitty, non cross-browser-compatible, half a decade old M$ Exchange system. | 2009-04-30 | 4:17 PM |
Brandon | Re:Web Server Issue?I am the computer person for the Fisheries and Wildlife teacher, its a pretty big deal (as far as the school is concerned) so If I have an issue, they take it as his and get shit done :P
Otherwise, hell no :P | 2009-04-30 | 5:05 PM |
Other
2021 Brandon Cornell