- 积分
- 8
- 威望
-
- 金钱
-
- 注册时间
- 2016-3-28
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2016-3-28 22:14:23
|
显示全部楼层
每次一访问html文件,在apache的error_log文件中总会出现以下四条记录:
[Mon Mar 28 21:58:43.575408 2016] [mpm_prefork:notice] [pid 7615] AH00173: SIGHUP received. Attempting to restart
[Mon Mar 28 21:58:43.607243 2016] [ssl:warn] [pid 7615] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Mar 28 21:58:43.607309 2016] [lbmethod_heartbeat:notice] [pid 7615] AH02282: No slotmem from mod_heartmonitor
[Mon Mar 28 21:58:43.625618 2016] [mpm_prefork:notice] [pid 7615] AH00163: Apache/2.4.12 (Unix) OpenSSL/1.0.1e-fips PHP/5.6.9 configured -- resuming normal operations
[Mon Mar 28 21:58:43.625654 2016] [core:notice] [pid 7615] AH00094: Command line: '/usr/local/apache/bin/httpd'
无论访问html还是php文件,Nginx的access.log中会出现这样的记录:
106.113.167.138 - - [28/Mar/2016:21:59:21 +0800] "GET /index.html HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36" -
106.113.167.138 - - [28/Mar/2016:22:02:04 +0800] "GET /index.php HTTP/1.1" 200 55 "-" "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36" -
注意html后面的304和php后面的200。 |
|