“Error 406”的解决办法?

昨天网站服务商转换服务器,然后在使用Firefox访问本博客的时候出现错误信息“An appropriate representation of the requested resource /XXXX/XXXX.php could not be found on this server. Error 406, not acceptable”.

找了服务商,解决不了问题,于是在网上寻找解决之道,在这个网Slackblog找到了答案。

具体解决办法是在网站html-public的根目录下找到文件.htaccess,在里面加一句“SecFilterEngine off” 存档后问题就解决了。

问题出现的原因是因为网站的某些衔接激活了mod_security,屏蔽后问题就可以解决。





Related posts:

  1. 食盐加碘的争论与解决办法
  2. 脚臭是什么原因造成的,又有什么办法可以去除脚臭?
  3. 健脑有什么办法吗?
  4. 最简单又有效的减肥办法是什么?
  5. 对赌博上瘾有什么办法吗?

发表评论?

0 条评论。

发表评论


*


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>