Missing path for server.upload-dirs is not reported, then uploads fail.
Hi, yesterday I found an issue, or maybe two: I installed 1.4.32 in place of 1.4.28, and in the make install the directory pointed by server.upload-dirs got deleted from the file system (first issue). I started lighttpd and it worked normally, but uploads of large files began to fail (second issue). It was a headache to discover that the path was missing and causing this behavior. My request is that lighttpd should report those missing paths at start (or when you do the lighttpd -t test), or event don't start at all, to avoid this kind of issues.
[config] warn if server.upload-dirs has non-existent dirs (fixes #2508)
Warn at startup if any dirs in server.upload-dirs do not exist.
Take server.chroot into account, if set.
From: Glenn Strauss <email@example.com>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3125 152afb58-edef-0310-8abb-c4023f1b3aa9
Updated by stbuehler almost 5 years ago
- I don't think we have any "install" directives that would create or even delete such special directories.
- The default is "/var/tmp" (if no paths are configured); it might be nice to have a warning at startup that the configured directories are not existing.
Also available in: Atom