Lighttpd

is web server.]]

Emerge
Install :

Configuration
The lighttpd configuration is handled by. The first example shows a single-site access, with SSL and no dynamic capabilities (such as PHP).

To enable additional functionalities configure needed modules in. For instance, to enable PHP using the FastCGI processor:

IP access lists
This third example shows how to allow access to a particular site /server-status only to certain IP addresses. To allow using service status on the 198.51.100.1 and 127.0.0.1 addresses, set the following lines in the file:

Start up
In order for the service to start automatically it must be properly added to the init handler program. Gentoo has two main init handler programs: OpenRC and Systemd.

OpenRC
With OpenRC use the command:

systemd
With systemd use the command:

Troubleshooting
Verifying configuration file with, it will return the exit code  , if everything is configured properly:

If the configuration file has errors, it will print it to stdout, like in the example below:

External resources

 * https://redmine.lighttpd.net/projects/lighttpd/wiki - The Lighttpd wiki.