Debugging lighttpd.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lighttpd.rst Thu Dec 10 19:49:49 2015 +0200
@@ -0,0 +1,27 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===========
+ Lighttpd.
+===========
+.. contents::
+
+Debugging lighttpd.
+===================
+
+Checking configuration file::
+
+ $ lighttpd -t -f /etc/lighttpd/lighttpd.conf
+
+Add to config::
+
+ server.errorlog = "/var/log/lighttpd/error.log"
+
+ debug.log-response-header = "enable"
+ debug.log-request-handling = "enable"
+
+To debug CGI (see ``stderr`` from CGI script)::
+
+ server.breakagelog = "/var/log/lighttpd/cgi.log"
+
+