Hi,
        We setup a Squid proxy-server, but it does not seem to use the cache.
        We installed RedHat 6.1+Squid2.2STABLE4 with a separate partition
        for squid's cache and gave it the proper permissions (also changed 
        the cache_dir to point to it). The only other
        modification we did to squid.conf was add a line(acl) to accept 
        connections from all. Then did a "squid -z" and started up squid
        through "/etc/rc.d/init.d/squid start". On accessing the same page
        more than once, we get a "TCP_MISS" in our access.log. Each time the
        site is accessed "DIRECT". There is no change in the cache-directory
        size.
                We then tried copying squid.conf.default to squid.conf,
        remaking new cache-directories and restarting squid and
        trying a connect from localhost... TCP_MISSes again.
                The system has 2 ethernet cards. 
        The hostname was initially "localhost". We tried changing it to the
        hostname of the external interface. No use!
                The crazy thing is that the same configs work OK for system
        without any ethernet cards but also running Apache, and Lynx having
        proxy setup to Squid on the same system, ie., Squid+Apache on one 
        system and Lynx on that system accessing the Apache through Squid.
                We have "named" running and /etc/resolv.conf configured.
        Help!!

--vml
        
        
        

-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting.  The site is
at http://botsie.tripod.com/beforeposting/

Reply via email to