I'm working on a site using Flask and Passenger (fastCGI), and I've got things more or less up and running, but I've found that mod_security seems to be blocking all of my attempts to POST to my site.
right now my form is pretty bare-bones (just a text field named 'email'), and it gets posted to the url '/recvpost'. The error I'm seeing in my logs is:
[Wed Mar 20 09:11:28 2013] [error] [client 188.8.131.52] ModSecurity: Output filter: Failed to read bucket (rc 104): Connection reset by peer [hostname "<MY_DOMAIN_NAME>"] [uri "/recvpost"] [unique_id "UUnfsNBxmdYAAJWTLhYAAAAB"]
When I disable "Extra Web Security" in the dreamhost panel, I am able to post successfully, but that seems a bit aggressive, and I've been unable to figure out what config settings to put in a .htaccess file.
So far I've tried the following just for the sake of trying them, all with no change in results:
Any apache gurus out there know what I need to turn on/off to get this to work?