了解Apache访问日志格式 [英] Understanding Apache Access Log format
问题描述
我想了解有关Apache访问日志格式的更多信息。
I would like to understand more about Apache access log format.
根据下面的日志,
27.111.34.139--[02 / Sep / 2015:03:50:47 +0800] GET /&page=../../../。 ./../../../../../../etc/passwd%00 HTTP / 1.1 404 248- Mozilla / 9.0(X11; Linux x819_68)blog.inurl.com。 br / eccbc87e4b5ce2fe28308fd9f2a7baf3.31(像Gecko这样的KHTML)Chrome / 26.0.1410.63 Safari / 179.31 70 0
27.111.34.139 - - [02/Sep/2015:03:50:47 +0800] "GET /&page=../../../../../../../../../../etc/passwd%00 HTTP/1.1" 404 248 "-" "Mozilla/9.0(X11; Linux x819_68) blog.inurl.com.br/eccbc87e4b5ce2fe28308fd9f2a7baf3.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/179.31" 70 0
您可以看到还有另外的 70 & 0 在字符串的末尾。
As you can see that there are additional 70 & 0 at the end of the string.
70&是什么?
What does 70 & 0 mean at the end of the string?
这是否是由于使用了某些用户代理或请求或其他特定参数导致的?
Does this occurred because of certain user-agent used or request or other specific parameters?
推荐答案
70是请求大小,0是响应大小(在这种情况下,因为返回的代码是404,所以没有响应)
70 is request size and 0 is the response size (in this case no response as the returned code is 404)
这篇关于了解Apache访问日志格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!