Eliminating 413 Request Entity Too Large responses when uploading large files via WebDAV
Transferring files to a system using Apache's mod_dav to export its filesystem via WebDAV, any time I tried to transfer a file over 1GB my local client (Cyberduck) would fail with the error: Unexpected response (413 Request Entity Too Large).
The fix was simple, once I sat down to actually implement it; I just added a LimitRequestBody entry into httpd.conf and restarted the server:
[root@server ~]# vi /etc/httpd/conf/httpd.conf
...
EnableSendfile on
LimitRequestBody 0
[root@server ~]# systemctl restart httpd

Comments
Post a Comment