技术员联盟提供win764位系统下载,win10,win7,xp,装机纯净版,64位旗舰版,绿色软件,免费软件下载基地!

当前位置:主页 > 教程 > 硬件教程 >

网站501 Method Not Implemented错误提示

来源:技术员联盟┆发布时间:2018-08-09 00:12┆点击:

服务器加载security_module 模块导致。
如果服务器端解决可以
将/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里加上以下内容

代码如下
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
 

将其关闭。

国外网站找到一解决办法。

代码如下
$ 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.
$