Apache-strange phenomenon: the PHP website has been visiting the home page with an error of HTTP408

Source: Internet
Author: User
Tags php website apache access log
Strange phenomenon 1) every time you read Apache access logs, there are always many websites with 408 errors. htaccess configuration and sequence {code ...} apache access log {code ...} strange problem {code ...} strange phenomenon

1) every time you read Apache access logs, there are always many 408 errors.

Website. htaccess configuration and Sequence
# RewriteCond % {HTTP_HOST} ^ myhost.cn [NC] RewriteRule ^ (. *) $ http://www.myhost.cn/#1 [L, R = 301] # RewriteCond % {HTTP_HOST} has been set for non-3www redirection in DNSPOD }! ^ (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 access log
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:-"
Strange Problem
I don't know how these 408 accesses are generated. There are no access routes and no browser information, that is, 408. There are at least dozens of visits every day.

Reply content: Strange phenomenon

1) every time you read Apache access logs, there are always many 408 errors.

Website. htaccess configuration and Sequence
# RewriteCond % {HTTP_HOST} ^ myhost.cn [NC] RewriteRule ^ (. *) $ http://www.myhost.cn/#1 [L, R = 301] # RewriteCond % {HTTP_HOST} has been set for non-3www redirection in DNSPOD }! ^ (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 access log
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:-"
Strange Problem
I don't know how these 408 accesses are generated. There are no access routes and no browser information, that is, 408. There are at least dozens of visits every day.

408 Request Timeout

I have mentioned it on Wikipedia. This information indicates that someone is sending a request to your server at a slow speed. It may be:

  1. Manually input data
  2. The user's network is slow.
  3. The user wants to perform DoS attacks in this way
  4. User program error

"From:-" does not know what the field is. Probably UserAgent?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.