Re: [squid-users] accelerator mode problem with cgi? that make gifs

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 29 Jun 2001 16:18:15 +0200

Do you get anything in cache.log?

Make sure that the URL is correct and does not contain any bad
characters.

--
Henrik Nordstrom
Squid Hacker
Steve Taylor wrote:
> 
> Hi all,
> 
> I have just setup a squid server for accelerator mode and have run into a
> problem that I'm having trouble solving.
> 
> When accessing a page on the accelerated host that has a counter on it,
> squid does a direct fetch of the Count.cgi? with a list of parameters but a
> 500 (Internal Server Error) result code shows up in the log and the counter
> gif is not displayed on the browser.  This is not the case if I point my
> browser directly to the page on the host.
> 
> 2 things strike me:
> 
> 1.  The URL for the Count.cgi? is inside an image tag
> (src="/cgi-bin/Count.cgi?...")and so the expected return is image content.
> 
> 2.  The entry in the access.log shows that the mime/type of the Count.cgi?
> reply is text/html instead of image/gif.
> 
> Has anyone seen this before?  Any ideas?  Am I on the wrong track?  All
> other CGI content works just fine.
> 
> Thanks so much.
> 
> Steve Taylor
> Natural Resources Canada
Received on Fri Jun 29 2001 - 09:32:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:53 MST