windows下squid无法缓存动态请求的解决办法
找了几天了,一直找不到原因,squid 只能缓存静态页面,动态页面,但如果有传值,如:test.asp?id=5则报错如下ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.029263.com/test.asp?
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 Thu, 21 Apr 2011 21:13:17 GMT by fei76squid (squid/2.7.STABLE8)
终于测试出结果了
在配置文件里加上一句
never_direct allow all
就ok了,结果对了,不知道办法是否可行,有待观察中
页:
[1]