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
新聞熱點
疑難解答
圖片精選