Poor experience with CGI logging
It is now 5am and I have been up overnight.
I have been trying to make lighttpd log CGI output.
I have a simple, test CGI, which is logging to stderr, and I am watching "breakage.log".
If I call the CGI with a GET, it works.
If I call it with a POST, it does not work.
However, access.log has been showing 200 OK for all accesses.
I have - after five hours - finally determined the CGI is not being called when I use POST.
I have then having Googled found out lighttpd always returns 200 OK for a CGI - even if the CGI fails, even if it is not even being called.
This is misleading, because it does not meet with reasonable developer expectation; that the log should not show a 200 OK when the file could not be found. I have not slept tonight because of it.
I think decisions should have conseqeuencs, so I will now be moving on to nginx.