|
|
找了很多关于透明代理的帖子 就没提到需要把相关的配置选项方配置文件的什么位置 请知道的告诉一下 谢谢
我在squid.conf文件中的http_port 3128后面加了如下几段关于透明代理的选项,结果 squid -z的时候报错
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
错误代码:
2006/08/09 18:11:55| parseConfigFile: line 74 unrecognized: 'httpd_accel_host virtual'
2006/08/09 18:11:55| parseConfigFile: line 75 unrecognized: 'httpd_accel_port 80'
2006/08/09 18:11:55| parseConfigFile: line 76 unrecognized: 'httpd_accel_with_proxy on'
2006/08/09 18:11:55| parseConfigFile: line 77 unrecognized: 'httpd_accel_uses_host_header on'
Squid Cache (Version 2.6.STABLE2): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 6 |
|