日期:2014-05-16  浏览次数:20696 次

apache的MaxRanges指令是干什么用的?在线等...
手册是这样说的:The MaxRanges directive limits the number of HTTP ranges the server is willing to return to the client. If more ranges then permitted are requested, the complete resource is returned instead
但我没看明白,不知道HTTP ranges指的到底是什么.

  还有下面这句话,小生英语太差,没看懂.
If more ranges then permitted are requested, the complete resource is returned instead
 

------解决方案--------------------
the number of HTTP ranges,客户端请求的http数量范围。
如果设置的MaxRanges范围大于服务器本身所有资源的范围,那么肯定服务器无法满足,只能返回服务器本身的所有资源。

If more ranges then permitted are requested, the complete resource is returned instead
如果范围很大,那么允许被请求,将会返回最大的资源替代(你设置的不可达到的范围)。