Chinaunix

标题: squid 2.6在linux 启动的错误 [打印本页]

作者: hss202    时间: 2007-01-11 18:30
标题: squid 2.6在linux 启动的错误
如题,错误如下
http_port 80 transparent vhost vport

/usr/local/squid/sbin/squid -s
2007/01/11 18:33:55| Can't be both a transparent proxy and web server accelerator on the same port
FATAL: Bungled squid.conf line 74: http_port 80 transparent vhost vport
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.

如果改成这样
http_port 80

能正常启动,但不能访问,

The following error was encountered:

Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:

Missing or unknown request method
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
Content-Length missing for POST or PUT requests
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.

[ 本帖最后由 hss202 于 2007-1-11 18:33 编辑 ]
作者: HonestQiao    时间: 2007-01-11 18:32
http_port 80 vhost vport
作者: hss202    时间: 2007-01-11 18:33
谢谢,可以了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2