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 > 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)^@^Mjkey=00130779^B5^DõA^B^B^B^A^@a�^^^Døï^QJø^Ge^@^@p<97>~hòd^@^@q<97>~hòd^@^@^L954925515513 > >$obj->parsedDate(">=",2003,27,1)^@^Mjkey=00004348^B5^DõA^B^B^B^A^@a�^^^Døð^QJø^Ge^@^@p<97>~hòd^@^@q<97>~hòd^@^@^L954925269341 > >$obj->parsedDate(">=",2003,32,1)^@^Mjkey=00008843^B5^DõA^B^B^B^A^@a�^^^Dø�^UJø^Ge^@^@p<97>~hòd^@^@q<97>~hòd^@^@^L954925516554 > >$obj->parsedDate(">=",2000,38,1)^@^Mjkey=00003088^B5^DõA^B^B^B^A^@a�^^^Dø�^UJø^Ge^@^@p<97>~hòd^@^@q<97>~hòd^@^@^L954925517577 > >$obj->parsedDate(">=",1999,26,1)^@^Mjkey=00023172^B5^DõA^B^B^B^A^@a�^^^Dø�^UJø^Ge^@^@p<97>~hòd^@^@q<97>~hòd^@^@^L954925517584 > >$obj->parsedDate(">=",2001,21,1)^@^Mjkey=00002881^B5^DõA^B^B^B^C^@d^@�^^^Dø�^UJø^Ge^@^@p<97>~hòd^@^@q<97>~hòd^@^@^O110978978737417 > >$obj->parsedDate(">=",2000,14,1)^@^Mjkey=00133570^B5^DõA^B^B^B^A^@a�^^^Dø�^UJø^Ge^@^@p<97>~hòd^@^@q<97>~hòd^@^@^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: 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 > -- Craig Dunigan IS Technical Services Specialist (I don't know what it means, either) Middleware - Enterprise Info Systems - Department of Info Technology University of Wisconsin, Madison opinions expressed are my own, not the University's --------------------------------------------------------------------- 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