linux高手进,squid配置时两个问题,200分

来源:百度知道 编辑:UC知道 时间:2024/06/02 20:40:45
本机作为反向代理,Squid3版安装好后,修改配置文件,给http_port 80后加了这几句:

httpd_accel_host localhost
httpd_accel_port 81
httpd_accel_single_host on
httpd_accel_with_proxy on
httpd_accel_uses_host_header off

加了这几句之后,重起Squid提示:

Restarting Squid HTTP Proxy 3.0: squid3 Waiting.....................done.
2009/08/19 04:21:20| cache_cf.cc(346) squid.conf:871 unrecognized: 'httpd_accel_host'
2009/08/19 04:21:20| cache_cf.cc(346) squid.conf:872 unrecognized: 'httpd_accel_port'
2009/08/19 04:21:20| cache_cf.cc(346) squid.conf:873 unrecognized: 'httpd_accel_single_host'
2009/08/19 04:21:20| cache_cf.cc(346) squid.conf:874 unrecognized: 'httpd_accel_with_proxy'
2009/08/19 04:21:20| cache_cf.cc(346) squid.conf:875 unrecognized: 'httpd_accel_uses_host_header'

出现上面这些错误提示该怎么办啊?

我修改了Apache配置文件里的监听端口为81,重起,但Squid配置完,再重起XAMPP时提示我"Another web server daemon is already running"这是怎么回事啊?

重新编译squid. 才能支持这个功能.
# This option is only available if Squid is rebuilt with the
# -DUSE_SQUID_ESI define

httpd_accel_host localhost
httpd_accel_port 81
httpd_accel_single_host on
httpd_accel_with_proxy on
httpd_accel_uses_host_header off
这个问题我也碰到过,好像是上面的那个单词你输错了,不是HTTPD就是ACCEL,你找一本书看一下吧,应该就是这里错了,或者不是这两个单词!

中奖之下必有勇夫。
在下路过!!如有雷同!!纯属巧合!!小弟在此有礼了!!!!

http://linux.chinaunix.net/techdoc/system/2006/07/27/936915.shtml

老火

看到那么高的分我就不知不觉的飘进来了

其实我不会