服務(wù)器加載security_module 模塊導(dǎo)致。
如果服務(wù)器端解決可以
將/etc/conf.d/mod_security.conf 中的
代碼如下
loadfile /usr/libxml2.so.2
loadmodule security_module modules/mod_security2.so
loadmodule unique_id_module modules/mod_unique_id.so
注釋掉,就可以了。
見
或者可以在
.htaccess里加上以下內(nèi)容
代碼如下
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
將其關(guān)閉。
國外網(wǎng)站找到一解決辦法。
代碼如下
$ telnet 80
Trying 192.0.32.10...
Connected to
Escape character is '^]'.
OPTIONS / HTTP/1.1
HTTP/1.1 200 OK
Date: Tue, 08 Dec 2009 02:29:38 GMT
Server: Apache/2.2.3 (CentOS)
Allow: GET,HEAD,POST,OPTIONS,TRACE
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: close
Connection closed by foreign host.
$