|
|
发表于 2004-1-6 12:56:38
|
显示全部楼层
在squid.conf里将下面那些前面的#去掉,
http_port 3128
icp_port 3130
cache_mem 8 MB
cache_dir ufs /var/spool/squid 100 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
http_access deny all 改成 http_access allow all
启动前先 squid -z,然后再启动
如果出现Squid - Fatal Error: Please set 'visible_hostname'.
的话,就修改squid.conf里的
visible_hostname snooopy
unique_hostname snooopy
将snooopy改成你的主机名 |
|