Re: Where are images stored?

From: Jonathan Larmour <>
Date: Tue, 15 Oct 1996 17:49:37 +0100

At 17:57 15/10/96 +0100, Stefan Berg wrote:
>was just trying to hack ftpget.c to change the icons used
>for FTP-connections. How the heck do I do it?
>A typical line from the URL source would look start like this:
><IMG SRC="internal-gopher-menu" ALT="[FOLDER]"> ... [snip]
> ^^^^^^^^^^^^^^^^^^^^^
>How does the Squid software handle these requests? Where are the
>images stored?

You shouldn't need to touch ftpget.c. ftpget has a number of parameters
which can be specified in squid.conf which can be used for this purpose.
Really, images like "internal-gopher-menu" are meant to be interpreted by
the browser. However, many browsers, e.g. MSIE, do not do this. So you can
specify a location and extension for image files on ftpget's command line.

e.g. for me, in squid.conf:

cache_ftp_options -c 3:3 -l 3:30 -r 3:3 -p
-s .gif
Other options can be obtained from the source, or by running ftpget with no
args from the command line.

The above example will cause squid to try and fetch, e.g.

which I have on my web server as a neat little icon. You can extend this to
the other gopher types, e.g. sound, text, binary, image, unknown, etc.

Jonathan L.
Origin IT Services Ltd., 323 Cambridge Science Park, Cambridge, England.
Tel: +44 (1223) 423355 Fax: +44 (1223) 420724 E-mail: guess...
-------[ Do not think that every sad-eyed woman has loved and lost... ]------
-----------------------[ she may have got him. -Anon ]-----------------------
These opinions are all my own fault.
Received on Tue Oct 15 1996 - 09:51:54 MDT

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