lighttpd.rst
changeset 1805 9fc85bbfb183
child 1806 215f96a767ed
equal deleted inserted replaced
1804:513a1117ccec 1805:9fc85bbfb183
       
     1 .. -*- coding: utf-8; -*-
       
     2 .. include:: HEADER.rst
       
     3 
       
     4 ===========
       
     5  Lighttpd.
       
     6 ===========
       
     7 .. contents::
       
     8 
       
     9 Debugging lighttpd.
       
    10 ===================
       
    11 
       
    12 Checking configuration file::
       
    13 
       
    14   $ lighttpd -t -f /etc/lighttpd/lighttpd.conf
       
    15 
       
    16 Add to config::
       
    17 
       
    18   server.errorlog = "/var/log/lighttpd/error.log"
       
    19 
       
    20   debug.log-response-header = "enable"
       
    21   debug.log-request-handling = "enable"
       
    22 
       
    23 To debug CGI (see ``stderr`` from CGI script)::
       
    24 
       
    25   server.breakagelog = "/var/log/lighttpd/cgi.log"
       
    26 
       
    27