412 precondition failed and subversion/mercurial commits
April 10, 2007 |
co.mments
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
Comments
Post a comment
Trackback Pings
TrackBack URL for this entry:
http://www.dehora.net/mt/mt-tb.cgi/2079