httpd 400 Bad Request
1964 단어 버그 세트
0. 웹 요청 서비스 반환 400
서버 로그
/var/log/httpd/error_log
[Thu Aug 01 15:22:48.690943 2019] [suexec:notice] [pid 7181] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Thu Aug 01 15:22:48.703911 2019] [lbmethod_heartbeat:notice] [pid 7181] AH02282: No slotmem from mod_heartmonitor
/var/log/httpd/access_log
14.17.22.32 - - [01/Aug/2019:15:32:25 +0800] "GET / HTTP/1.1" 400 347 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
14.17.22.32 - - [01/Aug/2019:15:32:25 +0800] "GET /favicon.ico HTTP/1.1" 400 347 "http://aicamera_tiyan.weigarden.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
14.17.22.32 - - [01/Aug/2019:15:32:29 +0800] "GET /favicon.ico HTTP/1.1" 400 347 "http://aicamera_tiyan.weigarden.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
14.17.22.32 - - [01/Aug/2019:15:32:30 +0800] "GET / HTTP/1.1" 400 347 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
1. 솔루션
ServerName www.example.com:80
#ServerName www.example_test.com:80 // 400