|
squid.conf配置如下:
http_port 192.168.1.92:3128 transparent
icp_port 3130
visible_hostname commando
cache_dir null /tmp
cache_mem 200 MB
cache_effective_user squid
cache_effective_group squid
cache_swap_low 80
cache_swap_high 90
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
dns_children 30
connect_timeout 1 minute
acl advance src 192.168.1.85/32
acl normal src 192.168.1.11-192.168.1.250
acl download urlpath_regex -i \.avi$ \.rmvb$ \.iso$ \.rm$ \.torrent$ \.mp3$ \.wma$ \.wmv$ \.asf$ \.flv$
acl manager proto cache_object
acl conncount maxconn 300
acl localhost src 127.0.0.1/32
acl all src 0.0.0.0/0.0.0.0
http_access allow advance
http_access allow normal
http_access deny download
http_access allow manager localhost
http_access allow all
配置完成后执行/usr/local/webcache/sbin/squid -z
提示2008/12/02 12:00:02| Creating Swap Directories
跟着执行/usr/local/webcache/sbin/squid -D /usr/local/webcache/etc/squid.conf
无任何提示,PS-EF后可以看到有相关进程启动,
但是netstat -untl并没有发现3128端口启动~而且再次PS-EF后进程消失~没有任何报错信息,是不是偶的conf文件有错误?请各位大大帮忙看下 |
|