Flash, file uploads, a 403 and mod_security

If, like me, you have just spent a good while pulling your hair wondering why your file upload from flash mysteriously return a 403 : access forbidden even though the url is accessible from the browser and you might have even gone to the trouble of building an html form to prove that the damn thing works. then, you might be running into a problem with mod_security.

The solution :

add this to a .htaccess file :

SecFilterEngine Off
SecFilterScanPOST Off

Technorati Tags: , , ,

Bookmark on del.icio.us

One Response to “Flash, file uploads, a 403 and mod_security”

  1. Hari Karam
    August 20th, 2008 | 5:57 pm

    Doesnt work with modsec2
    You need

    SecRule SERVER_NAME “domain.com” phase:1,nolog,allow,ctl:ruleEngine=off

Leave a reply