由 aw8 在 04-20-2004 21:25 发表:
请教:同一台服务器上的多个虚拟主机用SQUID加速.
http_port 80
icp_port 0
acl QUERY urlpath_regex cgi-bin ?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /tmp 256 16 256
log_icp_queries off
buffered_logs on
emulate_httpd_log on
redirect_rewrites_host_header off
half_closed_clients off
acl all src 0.0.0.0/0.0.0.0
http_access allow all
cache_mgr admin
cache_effective_user squid
cache_effective_group squid
httpd_accel_host www.gameser.com
httpd_accel_port 81
httpd_accel_with_proxy off
httpd_accel_uses_host_header off
通过以上配置,就可以给你服务器上的WEB站点加速了,现在问题来了,以上的配置只能加速一个网站,如果要加速其它的虚拟主机怎么办呢?