On Fri, Feb 15, 2008 at 4:24 AM, Amos Jeffries <[EMAIL PROTECTED]> wrote:
>
>  *Where* in squid.conf is rather important. If it's at the end then it may
>  be useless.
>
>  Amos

Hello,

Below is my squid.conf (comments removed), anyone can take a fast look...?
========================================


acl manager proto cache_object
acl localnet src 127.0.0.0/8
acl localnet src 172.39.210.0/24

acl Safe_ports port 81
cache_effective_group web
cache_effective_user web

http_access allow manager localnet
http_access deny manager
http_access deny !Safe_ports
http_access allow all

icp_access allow localnet
icp_access deny all
htcp_access allow localnet
htcp_access deny all

hierarchy_stoplist cgi-bin ?

logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st
"%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
access_log /data/logs/squid.log combined

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern .               0       20%     4320

icp_port 3130
coredump_dir /usr/local/squid-3.0/var/cache

http_port 81 accel vhost
cache_peer 127.0.0.1 parent 80 0 no-query originserver
acl localsites dstdomain all
http_access allow all

========================================

Thanks...

BR
Howard

Reply via email to