Dear squid-cache.org,

I have three RHEL4 servers :

1. configured with squid 2.6  Version 2.6.STABLE16  in
accelerator mode
2. configured with (apache) httpd daemon
3. this machine has curl installed (to generate http
requests)


Each time I do curl http://omp.wc.be/home.html, I
notice that the WC ALLWAYS sends the reqeust to the
http server. It does NOT cache my home.html page.
If I remove the "always_direct allow all" statement
then I get the error back from WC that it is unable to
forward request.
I have  :
"cache allow all" statement.
"refresh_pattern" but even if I comment it, I have the
same issue.

What is wrong in my configuration that the accelerator
does not cache the file, but always asks for it ?

#[root]
#[root]cat squid.conf
#ACCELERATOR
###################
http_port 80 defaultsite=10.10.10.3
cache_peer omp.wc.be parent 80 0 no-query originserver

######ACLS###############
acl all src 0.0.0.0/0.0.0.0
acl port80 port 80
http_access allow port80
always_direct allow all

#CACHING RULES
###############
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache allow all
refresh_pattern .               1440       20%    
4320

#MISCELLANIOUS
##################3
visible_hostname omp.wc.be
cache_effective_user squid
cache_effective_group squid
dns_testnames omp.wc.be
cache_mem 50 MB
#[root]
#[root]
#[root]

note : 10.10.10.3 is the IP of the http server
       omp.wc.be is referenced as 10.10.10.3 by DNS. 
       on curl-machine omp.wc.be is resolved as
12.1.1.1 (=listening interface on squid)
       note : home.html is only a one-line html page
with no cgi, ... in it !

Many thanks in advance !


       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

Reply via email to