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 still get the same problem. Now, when looking at the response I no longer see the perl code, but still the browser can't understand it.

Craig Dunigan wrote:

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]@p<97>[EMAIL PROTECTED]@q<97>[EMAIL PROTECTED]@^L954925515513 $obj->parsedDate(">=",2003,27,1)[EMAIL PROTECTED]@[EMAIL PROTECTED]@p<97>[EMAIL PROTECTED]@q<97>[EMAIL PROTECTED]@^L954925269341 $obj->parsedDate(">=",2003,32,1)[EMAIL PROTECTED]@[EMAIL PROTECTED]@p<97>[EMAIL PROTECTED]@q<97>[EMAIL PROTECTED]@^L954925516554 $obj->parsedDate(">=",2000,38,1)[EMAIL PROTECTED]@[EMAIL PROTECTED]@p<97>[EMAIL PROTECTED]@q<97>[EMAIL PROTECTED]@^L954925517577 $obj->parsedDate(">=",1999,26,1)[EMAIL PROTECTED]@[EMAIL PROTECTED]@p<97>[EMAIL PROTECTED]@q<97>[EMAIL PROTECTED]@^L954925517584 $obj->parsedDate(">=",2001,21,1)[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]<97>[EMAIL PROTECTED]@q<97>[EMAIL PROTECTED]@^O110978978737417 $obj->parsedDate(">=",2000,14,1)[EMAIL PROTECTED]@[EMAIL PROTECTED]@p<97>[EMAIL PROTECTED]@q<97>[EMAIL PROTECTED]@^L

Looks like perl code to me, like maybe you're serving an un-dereferenced code ref?

On Wed, 8 Jun 2005, Andres Monroy-Hernandez wrote:

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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to