LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 761|回复: 0

请教:同一台服务器上的多个虚拟主机用SQUID加速.

[复制链接]
发表于 2004-4-20 21:25:12 | 显示全部楼层 |阅读模式
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站点加速了,现在问题来了,以上的配置只能加速一个网站,如果要加速其它的虚拟主机怎么办呢?


谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表