getting 413 Request Entity Too Large error
I am getting "413 Request Entity Too Large" error, when trying to upload image using ajax. I have already tried following things but no luck.
memory_limit=800M
post_max_size=800M
upload_max_filesize=256M
After that I talked to inmotionhosting support, but they suggested to disable mod_security rule. But I think we can resolve this issue by increasing "SecRequestBodyInMemoryLimit" in mod_security.conf file or we can use suhosin.
Please suggest the best way to overcome this issue.
memory_limit=800M
post_max_size=800M
upload_max_filesize=256M
After that I talked to inmotionhosting support, but they suggested to disable mod_security rule. But I think we can resolve this issue by increasing "SecRequestBodyInMemoryLimit" in mod_security.conf file or we can use suhosin.
Please suggest the best way to overcome this issue.