当前位置: 技术问答>linux和unix
有关squid设置问题,急,在线等?
来源: 互联网 发布时间:2016-02-01
本文导语: LINUX上装SQUID squid.conf 设置如下 http_port 3128 cache_effective_user squid http_acceaa allow all 启动运行,在WINDOWS的IE是设置了代理,打开什么网站都出现以下错误,不知道是什么原因造成的,也不知道squid.conf还需要配置什...
LINUX上装SQUID
squid.conf 设置如下
http_port 3128
cache_effective_user squid
http_acceaa allow all
启动运行,在WINDOWS的IE是设置了代理,打开什么网站都出现以下错误,不知道是什么原因造成的,也不知道squid.conf还需要配置什么,请高手指点下
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.sina.com.cn/
The following error was encountered:
Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:
The cache administrator does not allow this cache to make direct connections to origin servers, and
All configured parent caches are currently unreachable.
Your cache administrator is webmaster.
--------------------------------------------------------------------------------
Generated Tue, 09 Jan 2007 07:03:36 GMT by serverwz.com (squid/2.6.STABLE4)
squid.conf 设置如下
http_port 3128
cache_effective_user squid
http_acceaa allow all
启动运行,在WINDOWS的IE是设置了代理,打开什么网站都出现以下错误,不知道是什么原因造成的,也不知道squid.conf还需要配置什么,请高手指点下
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.sina.com.cn/
The following error was encountered:
Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:
The cache administrator does not allow this cache to make direct connections to origin servers, and
All configured parent caches are currently unreachable.
Your cache administrator is webmaster.
--------------------------------------------------------------------------------
Generated Tue, 09 Jan 2007 07:03:36 GMT by serverwz.com (squid/2.6.STABLE4)
|
我也遇到过这样的问题,在http_port 后面加上本机ip地址就解决了。按文件说明不加也可以,可是我用的时候不加就是不行。