lighttpd
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units lighttpd or binaries lighttpd |
| Read every | 60 s while the Monitor window shows the tab |
| Active probe | none |
| Test config | on demand |
What the card reads and shows
Section titled “What the card reads and shows”lighttpd: ports and bind addresses, the document root, conditions on the host name and the socket with their own document roots and TLS files, modules, FastCGI / proxy / SCGI backends (host, port, socket).
Passive only. lighttpd -p would print the merged configuration but runs every include_shell command: the probe reads the files itself instead. The main file (-f of a trusted lighttpd process, else /etc/lighttpd/lighttpd.conf) and the files of its include lines (string literals, globs of [A-Za-z0-9._/*-], relative to the main file’s directory as lighttpd resolves them; at most 32 files) go through lighttpd/lighttpd.awk (closed key list, never setenv.*, bin-environment, bin-path, auth.*, mysql-vhost.*, secdownload.*, url.redirect, variables). include_shell commands are never run; Debian’s include-conf-enabled.pl is replaced by reading conf-enabled/*.conf. The configuration test (lighttpd -tt) runs on demand only, with what it runs described (A.2).
Test config
Section titled “Test config”What it does, as the card says: parses the configuration like a start does (-tt: also loads every module of server.modules and runs their checks), prints the errors and exits; RUNS EVERY include_shell COMMAND of the configuration (Debian: perl scripts in /usr/share/lighttpd that list mime types and conf-enabled), reads the TLS certificates and keys; does not open ports and does not touch the running server.