
Originally Posted by
scampsall
<snip>
I mainly don't understand how it's there in the test build and not in the live site - they are basically identical. Could it be an issue with the host/server? I use Filezilla to upload files - when I look in the server directory in FZ the .ico file has an unrecognized filetype icon.
But then it's visible in the above browsers, so that doesn't really make sense either?!
What you see in a file browser is not necessarily related to what a file is served as (the response header mime type). Linux, and your server is a Red Hat distro, does not care about the extension; the "." is just another character. I imagine it's Filezilla that doesn't know what the ico extension is. In Debian, all applications that need to know the MIME type of a file reference /etc/mime.types for the info. From your response header for /favicon.ico, Apache does know the proper MIME type.
Code:
Date: Wed, 21 Sep 2011 17:21:47 GMT
Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
Last-Modified: Wed, 21 Sep 2011 08:15:26 GMT
Etag: "5f185a9-8be-4ad6f2dab0380"
Accept-Ranges: bytes
Content-Length: 2238
Content-Type: image/x-icon
200 OK
cheers,
gary
Bookmarks