作者: jindui

configure options:  --bindir=/usr/local/sbin --sysconfdir=/usr/local/etc/squid --datadir=/usr/local/etc/squid --libexecdir=/usr/local/libexec/squid --localstatedir=/usr/local/squid '--enable-removal-policies=lru heap' --enable-async-io --with-pthreads '--enable-storeio=aufs ufs diskd null ' --enable-snmp --disable-wccp --disable-hostname-checks --disable-ident-lookups --enable-follow-x-forwarded-for --with-large-files --enable-large-cache-files --enable-poll --prefix=/usr/local i386-portbld-freebsd6.0

 

cache_mem 256 MB

#ie_refresh on
half_closed_clients off
emulate_httpd_log on
cache_dir aufs /da1/squid/cache 7000 32 256
cache_dir aufs /da2/squid/cache 9000 32 256

#http_port 80

visible_hostname wwwcache.hziee.edu.cn
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_store_log none
cache_access_log /da1/squid/logs/squid-access.log
cache_log /dev/null
acl snmppublic snmp_community public
snmp_access allow snmppublic
snmp_access deny all

 

标签: squid