奇怪的现象,PHP网站访问首页一直HTTP 408 错误
奇怪现象
1)每次看Apache访问日志,总是很多408错误
网站 .htaccess 配置及顺序
#非3www重定向在DNSPOD中已设置
RewriteCond %{HTTP_HOST} ^myhost.cn [NC]
RewriteRule ^(.*)$ http://www.myhost.cn/$1 [L,R=301]
#非3www重定向在DNSPOD中已设置
RewriteCond %{HTTP_HOST} !^(mywww|localhost|192.168.) [NC]
RewriteCond %{HTTP_HOST} !(my.(cn|loc|test))$ [NC]
RewriteRule ^(.*)$ http://www.myhost.cn/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !(xml|html|php)$
RewriteCond %{REQUEST_URI} !\/$
RewriteRule ^(.*)$ /$1/ [L,R=301]
Apache 访问日志
2014-12-23 15:44:46 119.130.186.24 - myhost.cn- - 80 "-" 408 0 0 "from:-"
2014-12-23 15:44:46 119.130.186.24 - myhost.cn- - 80 "-" 408 0 0 "from:-"
2014-12-23 15:44:51 119.130.186.24 - myhost.cn- - 80 "-" 408 0 0 "from:-"
2014-12-23 15:44:51 119.130.186.24 - myhost.cn- - 80 "-" 408 0 0 "from:-"
2014-12-23 15:44:51 119.130.186.24 - myhost.cn- - 80 "-" 408 0 0 "from:-"
2014-12-23 15:44:51 119.130.186.24 - myhost.cn- - 80 "-" 408 0 0 "from:-"
2014-12-23 15:44:51 119.130.186.24 - myhost.cn- - 80 "-" 408 0 0 "from:-"
奇怪的问题
不知道这些408访问是怎么产生的,没有访问来路也没有请求浏览器信息,就是408,每天都有很多,至少几十个。
kaaya
11 years, 3 months ago