lighttpd.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 10 Dec 2015 19:49:49 +0200
changeset 1805 9fc85bbfb183
child 1806 215f96a767ed
permissions -rw-r--r--
Debugging lighttpd.

.. -*- 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"