Project

General

Profile

[Solved] Error output from CGI scripts?

Added by jello almost 4 years ago

Hello,

When a CGI script errors out (returning HTTP 500), I'm used to looking in the webserver error log to find the output of the script which tells me what went wrong (eg. a perl die message). I don't see that information in the LigHTTPd error.log file, but I do see error messages there from lighttpd itself. Am I missing something? Is it sent elsewhere? Do I need to configure something for it to show up?

Thanks,
--Joe


Replies (2)

RE: Error output from CGI scripts? - Added by gstrauss almost 4 years ago

FYI: the name of the software is "lighttpd".

If your configuration defines server.breakagelog, then stderr from CGI goes there. Please refer to lighttpd configuration documentation.

RE: Error output from CGI scripts? - Added by jello almost 4 years ago

Thank you, I must have missed that when reading the docs.

    (1-2/2)