请分析一下我的squid.conf有什么问题没有,谢谢

由 antelope 在 09-10-2003 09:38 发表:

请分析一下我的squid.conf有什么问题没有,谢谢

我试了一下,

1。私网机器设置代理192.168.1.1:3333可以上网

2。不设置也可以上网,

基本实现我的要求,就是不知真正的性能如何,请高手品评一下:

http_port 3333

httpd_accel_host virtual

httpd_accel_port 80

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

cache_mem 64 MB

maximum_object_size 4096 KB

cache_dir ufs /usr/local/squid/cache 2000 16 256

cache_access_log /usr/local/squid/var/logs/squid/access.log

cache_log /usr/local/squid/var/logs/squid/cache.log

#user&group

cache_effective_user squid

cache_effective_group squid

visible_hostname star.starpointcomm.com

pid_filename /var/run/squid.pid

dns_nameservers 192.168.1.1

acl starpointcomm src 192.168.1.0/24

acl all src 0.0.0.0/0

http_access allow starpointcomm

http_access deny all


这家伙很懒,什么都没留下!


由 antelope 在 09-10-2003 10:05 发表:

请解释一下squid透明代理和httpd加速的关系

我看到的配置是

http_port 3333

httpd_accel_host virtual<

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus