lighttpd is a lightweight web server designed for efficient handling of HTTP connections with modest memory and processor requirements. Its event-driven architecture avoids creating a separate process or thread for every connection, making it suitable for serving static content and hosting dynamic applications on a wide range of systems.
The server supports HTTP/1.x and HTTP/2, encrypted connections and several interfaces for communicating with application processes. FastCGI, SCGI and CGI support allow it to host applications using PHP and other server-side languages. It can also operate as a reverse proxy, distributing requests to backend services while applying routing and access-control rules.
lighttpd provides a modular configuration system for tailoring individual sites and services. Administrators can enable authentication, rewrite URLs, configure virtual hosts and manage response compression. Its combination of relatively low resource consumption and conventional web-server features makes it useful for embedded systems, personal servers and larger hosting environments.
This is free and open source software.
Key Features
- Event-driven request handling designed to minimise connection overhead.
- HTTP/1.0, HTTP/1.1 and HTTP/2 support.
- IPv4 and IPv6 networking.
- TLS support through several cryptographic libraries.
- Static file serving with conditional requests and HTTP range support.
- Persistent connections and chunked transfer encoding.
- FastCGI, SCGI and CGI integration for dynamic applications.
- Load balancing across FastCGI and SCGI application servers.
- Reverse proxying to HTTP backend services.
- WebSocket tunnelling through supported proxy modules.
- Virtual hosting with configurable document roots.
- URL rewriting and HTTP redirects.
- Basic and Digest authentication and integration with external authentication providers.
- Directory listings and custom error pages.
- Gzip and other supported HTTP response compression methods.
- Server-side includes and request processing through specialised modules.
- Lua-based request handling using mod_magnet.
- WebDAV functionality through supported modules.
- Filesystem and process isolation using chroot and privilege controls.
- Configurable logging and server statistics.
Website: www.lighttpd.net
Support:
Developer: Lighttpd Developers
License: BSD 3-Clause ‘New’ or ‘Revised’ License
lighttpd is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Web Servers | |
|---|---|
| nginx | Very powerful and efficient web server powering the top web sites |
| Apache | Like nginx, Apache is a hugely popular web server |
| Caddy | Powerful, enterprise-ready web server written in Go |
| Lwan | Experimental, scalable, high performance HTTP server |
| H2O | Optimized HTTP/1.x, HTTP/2, HTTP/3 server |
| Tengine | Distribution of nginx |
| lighttpd | Fast, compliant and very flexible low memory footprint web server |
| Ferron | Web server optimized for speed, security and efficiency |
| CivetWeb | Small embeddable web server library written in C |
| Angie | Scalable web server that was forked from nginx |
| Algernon | Small self-contained pure-Go web server |
| Node.js | Server-side JavaScript environment for network applications |
| Yaws | High-performance web server written in Erlang |
| Hiawatha | Web server that focuses on security |
| OpenLiteSpeed | Lightweight HTTP server |
| rwasa | Full-featured high performance web server |
| devd | Local web server for developers |
| Cherokee | Fast, flexible and embeddable web server |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.