Title: Precondition evaluated to false?
Last modified: August 19, 2016

---

# Precondition evaluated to false?

 *  836615
 * [17 years, 9 months ago](https://wordpress.org/support/topic/precondition-evaluated-to-false/)
 * I tried following the ideas of adding htaccess ect.. but always get:
 * Precondition Failed
    The precondition on the request for the URL /blog/wp-admin/
   media-upload.php evaluated to false.
 * when inserting an image.
 * Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/precondition-evaluated-to-false/#post-826829)
 * you need to flesh out your question a bit.
 * > I tried following the ideas of adding htaccess ect
 * For what purpose? What were you trying to achieve?
 * —
    Note: This feels like you read something about mod_security somewhere, but
   Im not going down that road until you explain …
 *  Thread Starter 836615
 * [17 years, 9 months ago](https://wordpress.org/support/topic/precondition-evaluated-to-false/#post-826830)
 * ahh my fault.. i didnt go into exactly what..
 * I am clicking the Add Media:Add Image button
 * I upload the image, and when I go to insert it into my blog, I get that error.
 * I did put an htaccess file using:
 *     ```
       <IfModule mod_security.c>
   
       SecFilterEngine Off
   
       SecFilterScanPOST Off
   
       </IfModule>
       ```
   
 * but it did not fix it.
 *  Thread Starter 836615
 * [17 years, 9 months ago](https://wordpress.org/support/topic/precondition-evaluated-to-false/#post-826842)
 * i went thru all the stick notes on images and still cannot get past this error.
 * any ideas?
 *  [kcal](https://wordpress.org/support/users/kcal/)
 * (@kcal)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/precondition-evaluated-to-false/#post-827125)
 * @mmreed – Did you get a resolution? I am having same problem. I can’t figure 
   it out.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/precondition-evaluated-to-false/#post-827126)
 * this is a mod_security issue >> click the mod_security tag over on the right 
   hand side.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Precondition evaluated to false?’ is closed to new replies.

## Tags

 * [mod_security](https://wordpress.org/support/topic-tag/mod_security/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/precondition-evaluated-to-false/#post-827126)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
