|
http_port 80
tcp_outgoing_address 255.255.255.255
cache_mem 64 MB
cache_swap_low 95
cache_swap_high 98
maximum_object_size 4096 KB
maximum_object_size 0 KB
maximum_object_size_in_memory 8 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir ufs /var/cache/cache 150 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
log_ip_on_direct on
log_fqdn on
mime_table /usr/local/squid/etc/mime.conf
pid_filename /usr/local/squid/logs/squid.pid
ftp_list_width 32
ftp_passive on
#dns_nameservers 63.203.35.55 206.13.28.12 192.168.0.1
dns_nameservers 206.13.28.12
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_port port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNETC method CONNECT
http_access allow all
http_access deny !Safe_ports
cache_effective_user squid
cache_effective_group nobody
I can use the commands #squid -z , #squid -NCdl #squid #squid -k check and all commands are workd.
what is wrong with my configuration?? helps,please |
|