We are using Coldfusion 9 with Apache and are trying to upload files to store in a blob in a database. When the form is submitted, getting an error stating that the entity is too large. Doesn't appear to be a Coldfusion setting. The error looks like it is coming from Apache. I am sure that it is a setting somewhere perhaps in a configuration file. Any assistance is greatly appreciated.
The LimitRequestBody directive allows the user to set a limit on the allowed size of an HTTP request message body within the context in which the directive is given (server, per-directory, per-file or per-location).
yonaker
2:31 pm on Aug 21, 2012 (gmt 0)
I got a copy of the httpd.conf file for our server and it appears that the parameter is commented out. It says in the documentation that the default is 0 which indicates unlimited. If the directive is commented out, does that default apply? Is there any other configuration file where this limit might be set?
#LimitRequestBody 102400
phranque
3:20 pm on Aug 21, 2012 (gmt 0)
this directive can also be valid in the .htaccess file.
it should be fairly easy to test various file sizes to see where your practical limit is.
it's also possible that you are hitting a processor memory limit but i'm not sure how and where error that gets reported in your server configuration.
yonaker
5:10 pm on Aug 21, 2012 (gmt 0)
Thanks for the suggestions. I was able to finally get it working by putting the following directive in the .htaccess file. This will work just fine since we want to limit it to specific directories anyway. Gonna try and do some tests to determine exactly what the true value should be but for now able to upload some pretty large documents. Thanks for everyone's help.