Posts

Showing posts with the label Apache

Eliminating 413 Request Entity Too Large responses when uploading large files via WebDAV

Image
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

WebDAV locking issues

Image
Trying to create a folder on my WebDAV share, using Cyberduck , but couldn’t: The logs: # tail -f /var/log/httpd/ssl_error_log [Mon Feb 02 12:20:36.415327 2026] [dav:error] [pid 50869:tid 50979] [client 192.168.1.1:53060] The locks could not be queried for verification against a possible "If:" header.  [500, #0] [Mon Feb 02 12:20:36.415404 2026] [dav:error] [pid 50869:tid 50979] [client 192.168.1.1:53060] Could not open the lock database.  [500, #400] [Mon Feb 02 12:20:36.415412 2026] [dav:error] [pid 50869:tid 50979] (120002)APR does not understand this error code: [client 192.168.1.1:53060] Could not open database.  [500, #1] [Mon Feb 02 12:20:36.526440 2026] [dav:error] [pid 50868:tid 50966] [client 192.168.1.1:53061] The locks could not be queried for verification against a possible "If:" header.  [500, #0] [Mon Feb 02 12:20:36.526476 2026] [dav:error] [pid 50868:tid 50966] [client 192.168.1.1:53061] Could not open the lock database.  [500, #400] [Mon ...