I think I understand what you want to do. I assume that you could do this
with a redirector; you just need to be careful that you do not introduce
forwarding loops... AFAIK, Squid checks its cache based upon the URL
returned by the redirector, not the URL in the client request. This would
mean every request hitting the squid proxy would be rewritten, but that
cache hits for that re-written URL would be served from the cache...
Sean
-----Original Message-----
From: jason@temple.net [mailto:jason@temple.net]
Sent: Thursday, August 16, 2001 10:28 AM
To: sean.upton@uniontrib.com
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] force cache of cgi params...
Greetings Sean,
Thanks for the conf tip...I have since discovered that the expire
and last-modified fields in the header returned from the fcg are not being
set (-1 in the store.log), so that I most likely the cause of this. Oh,
and I am using GET as oppose to POST.
One other question: Can squid transform an incomming domain on
the fly? An example would help here...
I'd like to create a VIP that represents a cluster of squid machines
(round robin) which use ICP to check who has what, but I do not want to
change the gateway of the machines issuing the incomming calls.
incomming fcg cluster call --> squid cluster (VIP) --> search cluster
(VIP)
^^^^ I don't want the incomming fcg cluster to have the squid cluster as
their gateway. Can squid be setup to receive a call such as
squidCluster.com/fcgi-bin/search?qry=beer
and transform the URL to:
searchCluster.com/fcgi-bin/search?qry=beer
so that it will check its cache, and failing that, query the appropriate
search cluster VIP. Any assistance would be greatly appreciated!
thanks in advance,
jas
Received on Thu Aug 16 2001 - 13:39:23 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:41 MST