ying lcs wrote: > On 7/9/07, RW <fbsd06@xxxxxxxxxxxxxxxxxxx> 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.