lighttpd is an open source, totally free, secure, fast, compliant, and very flexible Web (HTTP) server software implemented in C and specifically engineered and optimized for high-performance GNU/Linux environments.
It’s a command-line program that comes with an advanced set of features, including FastCGI (load balanced), CGI (Common Gateway Interface), Auth, Output-Compression, URL-Rewriting, SSL (Secure Sockets Layer), etc.
It’s optimized for a large number of parallel connections
lighttpd is the perfect solution for Linux servers, where high performance AJAX applications are a must, because of its event-driven architecture, which has been optimized to support a large number of parallel connections (keep-alive).
Compared to other popular Web servers, such as Apache or Nginx, lighttpd has a small memory footprint, which means that it can be deployed on computers with old and semi-old hardware components, as well as an effective management of the CPU load.
Getting started with lighttpd
To install and use lighttpd on your GNU/Linux system, you have two options. First, open your favorite package manager and search for lighttpd in the main software repositories of your distribution, and install the package.
If lighttpd is not available in your Linux system’s repos, then you will have to download the latest version from Softpedia, where it’s distributed as a source tarball (tar archive), save the file on your computer, unpack its contents, open a terminal emulator and navigate to the location of the extracted archive file with the ‘cd’ command.
Then, you will be able to compile the software by executing the ‘make’ command in the terminal emulator, followed by the ‘make install’ command as root or with sudo to install it system wide and make it available to all users.
The program comes with a few command-line options, which can be viewed at a glance by running the ‘lighttpd –help’ command in a terminal. These include the ability to specify a configuration file and the location of the modules, test the config file, as well as to force the daemon to run in the foreground.
We at AppsForMyPC have tested and used lighttpd and it worked pretty smoothly 🙂 🙂