On 11/06/07, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
mån 2007-06-11 klockan 08:55 +0200 skrev Anton Melser: > 1181547599.988 142 10.10.10.10 TCP_CLIENT_REFRESH_MISS/200 1518 GET > http://www.e.fr/mambots/content/multithumb/lightbox/images/closelabel.gif > - DIRECT/172.16.16.1 image/gif Hmm.. it's going DIRECT here, not using a cache_peer at all. Are you using this Squid as a forward proxy? I thought you were setting up a reverse proxy.. what do http_port say? Any always_direct lines around?
So did I! Indeed, and removing it (always_direct allow all) didn't have any unfortunate consequences :-). Now I am getting FIRST_UP_PARENT, which is better I suppose?
If it's a forward proxy then you need never_direct to tell Squid to only use peers, if not it may fall back on DIRECT. (accelerator mode by default do not allow DIRECT unless forced by always_direct)
As I mentioned in another post, I actually got it working... by putting the values in /etc/hosts. It was sufficiently different for me to want to do another post... Thanks again, I think I am finally starting to get a clean squid.conf file! I basically just put everything all to get things working, and now I am starting to understand how things work am cleaning it up. Cheers Anton