403 Forbidden
Access to this resource on the server is denied!
Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
导致HawkHost空间出现 403 Forbidden 错误原因:共享服务器上安装了MOD,全称Mod security,当网址包含有“%”号等其它敏感字符时,就会被 Mod security 阻止.
解决方案是从我的服务器供应商那边得到的,在.htaccess文件里添加如下代码:
SecFilterEngine Off
SecFilterScanPOST Off
若找不到文件,新建并复制以下内容,上传即可:
- # -FrontPage-
- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
- <Limit GET POST>
- #The next line modified by DenyIP
- order allow,deny
- #The next line modified by DenyIP
- #deny from all
- allow from all
- </Limit>
- <Limit PUT DELETE>
- order deny,allow
- deny from all
- </Limit>
- AuthName Vevb.com
- AuthUserFile /home/jiesecom/public_html/_vti_pvt/service.pwd
- AuthGroupFile /home/jiesecom/public_html/_vti_pvt/service.grp
- <Files 403.shtml>
- order allow,deny
- allow from all
- </Files>
- deny from 89.248.168.40
- deny from 91.205.173.51
- SecFilterEngine Off
- SecFilterScanPOST Off
新闻热点
疑难解答
图片精选