equal
deleted
inserted
replaced
4 =========== |
4 =========== |
5 Lighttpd. |
5 Lighttpd. |
6 =========== |
6 =========== |
7 .. contents:: |
7 .. contents:: |
8 |
8 |
|
9 Documentation. |
|
10 ============== |
|
11 |
|
12 https://redmine.lighttpd.net/projects/lighttpd/wiki |
|
13 Official docs. |
|
14 https://wiki.archlinux.org/index.php/Lighttpd |
|
15 Arch wiki. |
|
16 |
9 Debugging lighttpd. |
17 Debugging lighttpd. |
10 =================== |
18 =================== |
11 |
19 |
12 Checking configuration file:: |
20 Checking configuration file:: |
13 |
21 |
14 $ lighttpd -t -f /etc/lighttpd/lighttpd.conf |
22 $ lighttpd -t -f /etc/lighttpd/lighttpd.conf |
15 |
23 |
16 Add to config:: |
24 To enable logging add to config:: |
17 |
25 |
18 accesslog.filename = "/var/log/lighttpd/access.log" |
26 accesslog.filename = "/var/log/lighttpd/access.log" |
19 server.errorlog = "/var/log/lighttpd/error.log" |
27 server.errorlog = "/var/log/lighttpd/error.log" |
20 |
28 |
21 debug.log-response-header = "enable" |
29 debug.log-response-header = "enable" |