[squid-users] Re: Re: Using the squidclient to put a file into squid cache

From: RW <fbsd06@dont-contact.us>
Date: Mon, 09 Jul 2007 20:55:04 +0100

ying lcs wrote:

> On 7/9/07, RW <fbsd06@mlists.homeunix.com> wrote:
>> ying lcs wrote:
>>
>> > Hi,
>> >
>> > I am trying to use the squidclient to put a file into squid cache.
>> >
>> > Like this:
>> > ./squidclient -P test.html http://www.test.com
>>
>> That command is for uploading a file to a remote server through squid.
>>
>> I'm guessing that what you trying to do is create a fake cache entry.
>> AFAIK you can't do that with squidclient. Possibly what you need is a
>> squid redirector to rewrite requests instead. There are a number of
>> these, try google.
>>
>
> Thanks. I have looked at these squid redirector:
> http://www.squidguard.org/Doc/
> http://squirm.foote.com.au/
>
> none of them allows me to upload a file to squid cache .

They don't but they allow squid to replace one url with another so you can
substitute your file for the one on the remote webserver.
Received on Mon Jul 09 2007 - 13:55:28 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT