Re: [users@httpd] Web server corrupting image?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

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

Thanks

Christopher Malton wrote:


Have you checked the error logs?

-----Original Message-----
From: Andres Monroy-Hernandez [mailto:andres@xxxxxxxxxxxxxxxx] Sent: 08 June 2005 18:24
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] Web server corrupting image?
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

I checked the HTTP headers for both images and everything looks fine looks fine: Content-Type and Content-Length are the same.
The Etag is different, but I believe this is normal.

The good one:
---------------------------
Response Headers - http://openurl.uquebec.ca:3210/sfxctrl/pix.1.0/ good.gif
Date: Wed, 08 Jun 2005 17:02:08 GMT
Server: Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7e DAV/2
Last-Modified: Sun, 13 Jun 2004 08:44:09 GMT
Etag: "1540fa-2a8-f9d9e840"
Accept-Ranges: bytes
Content-Length: 680
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: image/gif

200 OK
---------------------------


The bad one:
---------------------------
http://openurl.uquebec.ca:3210/sfxctrl/pix.1.0/bad.gif
Date: Wed, 08 Jun 2005 17:00:48 GMT
Server: Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7e DAV/2
Last-Modified: Sun, 13 Jun 2004 08:44:09 GMT
Etag: "154056-2a8-f9d9e840"
Accept-Ranges: bytes
Content-Length: 680
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: image/gif

200 OK

---------------------------


Thanks in advance.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx








---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux