I get above mentioned error when trying to upload a 7MB pdf to my webserver.
I set in php.ini 'post_max_size = 0' to disable the limit and in set in httpd.conf (I also tried the vhost conf file wo-lar.com.conf)
<Directory "/var/www/wo-lar.com/html">
LimitRequestBody 20971520
</Directory>
What else can be wrong?
Thanks you. Wolfgang
413 Request Entity Too Large
Re: 413 Request Entity Too Large
What is the value of upload_max_filesize? Any max size limits in set in the .htaccess file?
-
- Posts: 133
- Joined: 2016/11/20 11:58:45
Re: 413 Request Entity Too Large
Thank you for following up.
Solution was though a bit different. I had to increase SecRequestBodyLimit parameter in mod_security.conf
Solution was though a bit different. I had to increase SecRequestBodyLimit parameter in mod_security.conf