[clue-tech] Fun perl script

David L. Anselmi anselmi at anselmi.us
Tue Aug 1 17:56:49 MDT 2006


marcus hall wrote:
[...]
> It looks like it is passed URLs as input, and if it is a .jpg or
> a .gif file, it retrieves the file with wget and saves the file in
> /space/WebPages/images/XXXX-YYY.jpg (or .gif), then outputs a
> new URL to reference the file from 10.0.0.16 (presumably that server's
> IP address).  If the URL isn't a .jpg or .gif, it just passes the URL
> to the output.  Some other program actaully uses the URL later on.

Perhaps this has a more complete explanation:

http://www.squid-cache.org/Doc/FAQ/FAQ-15.html

Dave



More information about the clue-tech mailing list