[GRLUG] squid configuration troubles

Adam Tauno Williams awilliam at whitemice.org
Mon Oct 3 06:36:25 EDT 2011


On Sun, 2011-10-02 at 23:11 -0400, Michael Mol wrote:
> On Sun, Oct 2, 2011 at 4:00 PM, Michael Mol <mikemol at gmail.com> wrote:
> > Anyone familiar enough with squid to help me figure out what I'm doing
> > wrong here? (Running squid3, hence the IPv6 support)
> > #squid.conf
> > acl mySites dstdomain rosettacode.org www.rosettacode.org
> > acl localhost src 127.0.0.1 ::1
> > http_access allow mySites
> > cache_dir ufs /var/spool/squid3 10240 15 2
> > # non-ssl
> > http_port [2605:2700:0:3::4713:91bf]:80 accel defaultsite=rosettacode.org

Stupid question:can "telnet [2605:2700:0:3::4713:91bf]:80" from the
localhost and get a connection?

The reverse proxy does work with an IPv4 connection?

> > http_port 71.19.145.191:80 accel defaultsite=rosettacode.org
> > cache_peer 127.0.0.1 parent 80 0 no-query originserver name=httpAccel
> > cache_peer_access httpAccel deny al
> > # Allow purging.
> > acl PURGE method PURGE
> > http_access allow PURGE localhost
> > http_access deny PURGE
> OK, I could have *sworn* I included log entries and symptoms.  Here's
> what shows up in the browser and in logs:
> ####
> # cache.log
> ###
> 2011/10/02 19:48:40| Failed to select source for 'http://rosettacode.org/'
> 2011/10/02 19:48:40|   always_direct = 0
> 2011/10/02 19:48:40|    never_direct = 0
> 2011/10/02 19:48:40|        timedout = 0




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list