Re: [squid-users] Re: Squid only caches a few images and TCP_Miss everything else

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 15 Jul 2013 13:46:47 +1200

On 15/07/2013 4:10 a.m., jc.yin wrote:
> Okay it seems that I've now managed to create the squid cache
>
>
> root_at_Squid:~# squid3 -z
> 2013/07/14 16:06:41| squid.conf line 814: http_access allow
> 2013/07/14 16:06:41| aclParseAccessLine: Access line contains no ACL's,
> skipping
> 2013/07/14 16:06:41| Creating Swap Directories
> 2013/07/14 16:06:41| /var/spool/squid3 exists
> 2013/07/14 16:06:41| /var/spool/squid3/00 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/00
> 2013/07/14 16:06:41| /var/spool/squid3/01 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/01
> 2013/07/14 16:06:41| /var/spool/squid3/02 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/02
> 2013/07/14 16:06:41| /var/spool/squid3/03 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/03
> 2013/07/14 16:06:41| /var/spool/squid3/04 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/04
> 2013/07/14 16:06:41| /var/spool/squid3/05 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/05
> 2013/07/14 16:06:41| /var/spool/squid3/06 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/06
> 2013/07/14 16:06:41| /var/spool/squid3/07 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/07
> 2013/07/14 16:06:41| /var/spool/squid3/08 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/08
> 2013/07/14 16:06:41| /var/spool/squid3/09 exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/09
> 2013/07/14 16:06:41| /var/spool/squid3/0A exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/0A
> 2013/07/14 16:06:41| /var/spool/squid3/0B exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/0B
> 2013/07/14 16:06:41| /var/spool/squid3/0C exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/0C
> 2013/07/14 16:06:41| /var/spool/squid3/0D exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/0D
> 2013/07/14 16:06:41| /var/spool/squid3/0E exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/0E
> 2013/07/14 16:06:41| /var/spool/squid3/0F exists
> 2013/07/14 16:06:41| Making directories in /var/spool/squid3/0F
> root_at_Squid:~#

Okay good.

> Now my problem is, like you mentioned, I have this:
>
> 2013/07/14 16:06:41| squid.conf line 814: http_access allow
> 2013/07/14 16:06:41| aclParseAccessLine: Access line contains no ACL's,
> skipping
>
> The reason I think is because since I'm still totally new to the Squid
> config file, I basically set http_access to allow without really
> understanding what it will do. What does this line do exactly anyway? Does
> this affect caching? Is it necessary to have it on to allow squid to work
> properly?

*_access lines rules telling Squid what traffic is allowed or denied to
do a certain thing. http_access is whether to allow clients HTTP
requests to be serviced by Squid.

That line is currently being ignored because it does not have any ACL
names there telling Squid what to traffic to match.

If you could share your squid.conf we can assist a bit further.

Amos
Received on Mon Jul 15 2013 - 01:46:55 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 15 2013 - 12:00:26 MDT