« Test First | Main | links for 2007-04-11 »

412 precondition failed and subversion/mercurial commits

if you are receiving a "412 Precondition Failed" message when checking into Subversion or pushing to Mercurial (I get this on TextDrive from time to time), it's probably a mod_security protections objecting to your content. Two possible solutions:

  • Change the content - sometimes changing the text of a commit comment will let the checkin through.
  • Disable security filtering using mod_security. To disable it for your repository set "SecFilterEngine Off" in a .htaccess file.

April 10, 2007 09:04 PM


Post a comment

(you may use HTML tags for style)

Remember Me?

Trackback Pings

TrackBack URL for this entry: