lighttpd.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 20 Feb 2016 02:00:25 +0200
changeset 1888 5a71256a6315
parent 1834 c10a645a08fc
child 1905 fba288d59662
permissions -rw-r--r--
List partitions.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

===========
 Lighttpd.
===========
.. contents::

Documentation.
==============

  https://redmine.lighttpd.net/projects/lighttpd/wiki
    Official docs.
  https://wiki.archlinux.org/index.php/Lighttpd
    Arch wiki.

Debugging lighttpd.
===================

Checking configuration file::

  $ lighttpd -t -f /etc/lighttpd/lighttpd.conf

To enable logging add to config::

  accesslog.filename = "/var/log/lighttpd/access.log"
  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"