解决phpwind安装出现403Forbidden问题
发布:smiling 来源: PHP粉丝网 添加日期:2014-04-10 17:02:13 浏览: 评论:0
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 phpfensi.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
Tags: phpwind 403Forbidden
相关文章
- ·wamp本地安装phpwind问题:‘RewriteEngine’(2013-11-15)
- ·以phpwind为例分享nofollow的使用方法(2013-11-15)
- ·win03+IIS安装phpwind9.0时提示pdo_mysql未安装(2013-11-15)
- ·jsp网站到phpwind论坛的同步登陆登出实现(2013-11-15)
- ·win2003+iis服务器phpwind网址伪静态处理方法(2013-11-15)
- ·关于选择phpwind和Discuz程序做论坛的一点个人看法(2013-11-15)
- ·jsp网站到phpwind论坛的同步登陆登出实现(2014-01-10)
- ·phpwind如何在门户上增加论坛统计信息(2014-01-10)
- ·win2003+iis服务器phpwind网址伪静态处理方法(2014-01-10)
- ·PHPwind论坛怎么设置伪静态 (2014-01-10)
- ·做论坛用phpwind好还是Discuz好?(2014-01-10)
- ·教你如何成功通过修改数据库实现更换phpwind的APP账号(2014-01-10)
- ·网站与phpwind用户同步的方法(2014-04-03)
- ·phpwind 9.0解决QQ登陆,新浪微博登陆乱码(2014-04-03)
- ·ixwebhosting空间下phpwind 伪静态设置(2014-04-10)
- ·PHPwind论坛怎样实现301跳转(2014-04-10)
推荐文章
热门文章
最新评论文章
- 写给考虑创业的年轻程序员(10)
- PHP新手上路(一)(7)
- 惹恼程序员的十件事(5)
- PHP邮件发送例子,已测试成功(5)
- 致初学者:PHP比ASP优秀的七个理由(4)
- PHP会被淘汰吗?(4)
- PHP新手上路(四)(4)
- 如何去学习PHP?(2)
- 简单入门级php分页代码(2)
- php中邮箱email 电话等格式的验证(2)