“http error” when using Uploadify plugin for JQuery

拜拜、爱过 提交于 2019-12-01 21:03:05

I got a different http error: HTTP undefined or HTTP 500. After 4 hours of searching the web, I found the answer.

It is because the server uses Mod_Security. To turn it off, add these lines to .htacess file

<Ifmodule mod_php5.c>
SecFilterEngine "off"
SecFilterScanPOST "off"
</Ifmodule>

Credit: scaturan posted on http://gallery.menalto.com/node/94614

Problem fixed.... it was an issue with some stuff I had in the .htaccess file, probably the "LimitRequestBody".

Not sure why these settings affected it as the values I had set in there were larger values than the files I was trying to upload, but alas the code I took out of .htaccess was the below..

php_value upload_max_filesize 256MB
php_value post_max_size 300MB
php_value max_input_time 500
LimitRequestBody 500MB
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!