LIGHTTPD is a German-led Open-source software designed to provide a secure, fast, compatible and flexible Web server environment specifically for high-performance Web sites. It has very low memory cost, low CPU occupancy rate, good performance, and rich modules. LIGHTTPD is one of the best of the many OpenSource lightweight Web servers. Support FastCGI, CGI, Auth, output compression (outputs compress), url rewrite, alias, and other important functions, and Apache is popular, but also because of the rich function, in the LIGHTTPD many functions have a corresponding realization, This is important for Apache users because migrating to LIGHTTPD has to face these problems.
LIGHTTPD is one of the best of the many OpenSource lightweight Web servers. Supports fastcgi, CGI, Auth, output compression (outputs compress), URL rewriting, alias, and other important functions.
Lighttpd
sudo apt install lighttpd #安装lighttpd
After installing the system will automatically start LIGHTTPD, open http://localhost is, if you have previously installed Apache, the default home page replaced by http://localhost/index.lighttpd.html.
The Web server's root directory is in/var/www/, and the configuration file is in/etc/lighttpd/lighttpd.conf.
Restart LIGHTTPD command
SUDO/ETC/INIT.D/LIGHTTPD restart
LIGHTTPD default page