author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 22 Dec 2020 11:23:56 +0200 | |
changeset 2480 | 0766b2899607 |
parent 2228 | 837f1337c59b |
permissions | -rw-r--r-- |
1805 | 1 |
.. -*- coding: utf-8; -*- |
2 |
||
3 |
=========== |
|
4 |
Lighttpd. |
|
5 |
=========== |
|
6 |
.. contents:: |
|
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1834
diff
changeset
|
7 |
:local: |
1805 | 8 |
|
1834 | 9 |
Documentation. |
10 |
============== |
|
11 |
||
2228
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
12 |
https://redmine.lighttpd.net/projects/lighttpd/wiki |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
13 |
Official docs. |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
14 |
https://wiki.archlinux.org/index.php/Lighttpd |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
15 |
Arch wiki. |
1834 | 16 |
|
1805 | 17 |
Debugging lighttpd. |
18 |
=================== |
|
19 |
||
20 |
Checking configuration file:: |
|
21 |
||
22 |
$ lighttpd -t -f /etc/lighttpd/lighttpd.conf |
|
23 |
||
1834 | 24 |
To enable logging add to config:: |
1805 | 25 |
|
1806 | 26 |
accesslog.filename = "/var/log/lighttpd/access.log" |
1805 | 27 |
server.errorlog = "/var/log/lighttpd/error.log" |
28 |
||
29 |
debug.log-response-header = "enable" |
|
30 |
debug.log-request-handling = "enable" |
|
31 |
||
32 |
To debug CGI (see ``stderr`` from CGI script):: |
|
33 |
||
34 |
server.breakagelog = "/var/log/lighttpd/cgi.log" |
|
35 |
||
36 |