Open the file, save it as another name, and try it again. The header may be
corrupt or something. While many graphics apps overlook that stuff, I do not
think browsers are smart enough to do so. I assume you are sure that it is a
.gif, because if not it could just be a mime issue.
Hello,
I have two identical images (gifs). One is displayed correctly, the
other one not. I hope you can provide any hints.
In order to make sure both files are identical I compared their
hexadecimal fingerprint by doing:
% od good.gif good.hex ; od bad.gif bad.hex; diff bad.hex good.hex
Have you checked the error logs?
-Original Message-
From: Andres Monroy-Hernandez [mailto:[EMAIL PROTECTED]
Sent: 08 June 2005 18:24
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Web server corrupting image?
Hello,
I have two identical images (gifs). One is displayed
I'm guessing that you are using a mod_perl handler to serve these, and it's
going wrong on the second one. I opened it in vim and got this:
dDate(=,2003,31,1)[EMAIL PROTECTED]@[EMAIL PROTECTED]@p97[EMAIL
PROTECTED]@q97[EMAIL PROTECTED]@^L954925515513
$obj-parsedDate(=,2003,27,1)[EMAIL
Christopher,
There are no errors in the error log. The access log shows that the
request is successful:
12.45.228.130 - - [08/Jun/2005:15:02:03 -0400] GET
/sfxctrl/pix.1.0/good.gif HTTP/1.1 200 680
12.45.228.130 - - [08/Jun/2005:15:02:58 -0400] GET /sfxctrl/pix.1.0/bad
HTTP/1.1 200 2606
Dumb question perhaps, but your second entry doesn't have a .gif
extension. Are you serving up what you think you are?
On Jun 8, 2005, at 3:13 PM, Andres Monroy-Hernandez wrote:
Christopher,
There are no errors in the error log. The access log shows that the
request is successful:
Sorry, it was a copy and paste error :-D
Joost de Heer wrote:
12.45.228.130 - - [08/Jun/2005:15:02:03 -0400] GET
/sfxctrl/pix.1.0/good.gif HTTP/1.1 200 680
12.45.228.130 - - [08/Jun/2005:15:02:58 -0400] GET /sfxctrl/pix.1.0/bad
HTTP/1.1 200 2606
Is this a CP error, or is the
Same URL? 'Cause I get a 404 on bad.gif now.
On Wed, 8 Jun 2005, Andres Monroy-Hernandez wrote:
Good catch. I do have mod_perl enabled, but the images are real files,
not images served by a mod_perl application.
I restarted apache and removed the configuration elements of mod_perl. I
Can you verify that bad.gif begins with the string 'GIF'? Can it be viewed in
an app on the server itself? If the files are truly identical (one is a copy
of
the other), just a diff will report that - does it?
Are you sure there are no leftover PerlHandler or SetHandler or similar
statements