Re: automatic browser script from squid rather than httpd?

From: Igor Sysoev <[email protected]>
Date: Mon, 30 Aug 1999 18:08:51 +0400

Henrik Nordstrom wrote in message <37C99A38.59C49A92@hem.passagen.se>...

>> Yes and no. You can get squid to serve it from
>>
'http://www-proxy.mydomain.com:8080/squid-internal-static/icons/some-name-of
-your-choosing',
>
>And you can use the accelerator features of Squid combined with a
>redirector to serve it using any URL you like, from any HTTP server you
>like (including Squid's internal "server").

How to setup files in this internal server ? I searched in maillist
and tried such things - I added last string in mime.conf:

. text/plain anthony-unknown.gif - image +view +download
^internal-100x100$ - 100x100.gif - ascii

made file 100x100.gif in icons diretory then restart
squid (by shutdown not reconfigure) and tried to get file:

http://cache.nitek.ru:3128/squid-internal-static/icons/100x100.gif

but I got such error:

1999/08/30 17:57:05| internalStart: unknown request:
GET /squid-internal-static/icons/100x100.gif HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: ru
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
Host: cache.nitek.ru:3128
Connection: Keep-Alive

What's wrong ?
Standard icons, for example,
http://cache.nitek.ru:3128/squid-internal-static/icons/anthony-image.gif
fetched without errors.

Squid-2.2.stable3

Igor Sysoev
Received on Mon Aug 30 1999 - 08:21:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:08 MST