LinuxSir.cn,穿越时空的Linuxsir!

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

squid 实现多域名的判断

[复制链接]
发表于 2006-1-19 23:55:12 | 显示全部楼层 |阅读模式
linux 设置文件支持perl语言吗?
比如 设置
squid.conf
时,我想通过语言进行域名的判断怎么办?

you could move the HTTP server to another machine and leave it on port 80:

httpd_accel_host otherhost.foo.com //1号

httpd_accel_host otherhost2.foo.com //2号

httpd_accel_port 80
怎么选择一号 或则二号服务器

httpd-accelerator mode
 楼主| 发表于 2006-1-19 23:55:52 | 显示全部楼层
使用 squid  httpd-accelerator mode
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-20 21:49:52 | 显示全部楼层
使用 squid httpd-accelerator mode 想加速 HTTP server to another machine
httpd_accel_host otherhost.foo.com //这是要加速度的域名
但是我想根据主机头的不同进行加速判断

httpd_accel_host otherhost.foo.com //1号

httpd_accel_host otherhost2.foo.com //2号

httpd_accel_port 80
怎么选择一号 或则二号服务器
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-20 21:50:41 | 显示全部楼层
linux 设置文件支持perl语言吗?
比如 设置
squid.conf
时,我想通过语言进行域名的判断怎么办?

使用 squid httpd-accelerator mode 想加速 HTTP server to another machine
httpd_accel_host otherhost.foo.com //这是要加速度的域名
但是我想根据主机头的不同进行加速判断
httpd_accel_host otherhost.foo.com //1号

httpd_accel_host otherhost2.foo.com //2号

httpd_accel_port 80
怎么选择一号 或则二号服务器
回复 支持 反对

使用道具 举报

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

本版积分规则

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