1805
|
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 |
|
1806
|
18 |
accesslog.filename = "/var/log/lighttpd/access.log"
|
1805
|
19 |
server.errorlog = "/var/log/lighttpd/error.log"
|
|
20 |
|
|
21 |
debug.log-response-header = "enable"
|
|
22 |
debug.log-request-handling = "enable"
|
|
23 |
|
|
24 |
To debug CGI (see ``stderr`` from CGI script)::
|
|
25 |
|
|
26 |
server.breakagelog = "/var/log/lighttpd/cgi.log"
|
|
27 |
|
|
28 |
|