在freebsd中 apache+php+mysql
httpd启动后查看状态:
www 54748 0.0 2.2 47676 23192 ?? S 11:03AM 0:00.04 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54752 0.0 2.2 47676 23184 ?? S 11:03AM 0:00.04 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54756 0.0 2.2 47652 23160 ?? I 11:03AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54757 0.0 2.3 47740 23220 ?? I 11:03AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54758 0.0 2.5 49356 25292 ?? S 11:03AM 0:00.11 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54759 0.0 2.2 47668 23180 ?? S 11:03AM 0:00.04 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54760 0.0 2.3 47740 23220 ?? S 11:03AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54763 0.0 2.2 47676 23184 ?? I 11:03AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54782 0.0 2.2 47668 23172 ?? I 11:04AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54783 0.0 2.3 47692 23220 ?? S 11:04AM 0:00.03 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54784 0.0 2.3 47784 23272 ?? S 11:04AM 0:00.03 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54785 0.0 2.3 47712 23216 ?? I 11:04AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 54789 0.0 2.2 47676 23184 ?? S 11:04AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 55092 0.0 2.2 47684 23176 ?? I 11:04AM 0:00.01 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 55093 0.0 2.3 48368 24140 ?? S 11:04AM 0:00.03 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 55117 0.0 2.2 47668 23180 ?? S 11:04AM 0:00.02 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 55119 0.0 2.5 49084 25464 ?? S 11:04AM 0:00.10 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 55120 0.0 2.2 47668 23168 ?? I 11:04AM 0:00.01 /usr/local/sbin/httpd -DNOHTTPACCEPT
www 55138 0.0 2.2 47668 23160 ?? I 11:04AM 0:00.01 /usr/local/sbin/httpd -DNOHTTPACCEPT
解决如下:
1.在/etc/rc.conf中加入
apache22_http_accept_enable="YES"
2.或者
ee /boot/defaults/loader.conf
将
accf_data_load="YES" # Wait for data accept filter
accf_http_load="YES" # Wait for full HTTP request accept filter
都改成YES
以上的模块用于检测请求的数据是否完整,否则抛弃,防止客户端恶意请求。
阅读(3539) | 评论(0) | 转发(0) |