Post article failed with ‘Precondition Failed’ with wordpress

作者: Maclean Liu , post on October 13th, 2010 , English Version
【本站文章除注明转载外,均为本站原创编译】
转载请注明:文章转载自: Oracle Clinic – Maclean Liu的个人技术博客 [http://www.oracledatabase12g.com/]
本文标题: Post article failed with ‘Precondition Failed’ with wordpress
本文永久地址: http://www.oracledatabase12g.com/archives/post-article-failed-with-precondition-failed-with-wordpress.html

之前在WorePress 3.0.1上Post一篇博文的时候出现了”Precondition Failed The precondition on the request for the URL /wp-admin/post.php evaluated to false.”的错误页面,这个错误看上去不像是由php引起的,很有可能是apache相关的一个错误。Google了半天,网上讨论认为这可能是由于MAD_SECURITY模块引起的,而非WordPress的Bug。一般该错误可以通过修改.htaccess文件规避,透过Cpanel或ssh等界面修改该文件(一般就在虚拟空间的根目录下),在结尾处加入以下记录:

<Files post.php>
SecFilterInheritance Off
</Files>

# END WordPress

修改后保存并再次尝试Publish文章,发现不再出现”Precondition Failed”错误。

© 2010, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.

相关文章 | Related posts:

  1. Book:Building a WordPress
  2. Ignore gsd resource failed to start above 10g
  3. oracleasm failed to createdisk on raw device

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>