## SECTION=networking menuconfig LIGHTTPD tristate prompt "lighttpd " select LIBC_M select LIBC_DL select LIBC_CRYPT select ZLIB if LIGHTTPD_ZLIB select ZSTD if LIGHTTPD_ZSTD select BZIP2 if LIGHTTPD_BZ2LIB select BZIP2_LIBBZ2 if LIGHTTPD_BZ2LIB select ATTR if LIGHTTPD_ATTR select LIBPCRE if LIGHTTPD_PCRE select LIBXML2 if LIGHTTPD_WEBDAV_PROPS select SQLITE if LIGHTTPD_WEBDAV_PROPS select OPENSSL if LIGHTTPD_OPENSSL select LUA if LIGHTTPD_LUA select LUA_INSTALL_LIBLUA if LIGHTTPD_LUA select BUSYBOX_START_STOP_DAEMON if LIGHTTPD_STARTSCRIPT select BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY if LIGHTTPD_STARTSCRIPT select BUSYBOX_FEATURE_START_STOP_DAEMON_LONG_OPTIONS if LIGHTTPD_STARTSCRIPT help A fast webserver with minimal memory footprint lighttpd is a small webserver and fast webserver developed with security in mind and a lot of features. It has support for * CGI, FastCGI and SSI * virtual hosts * URL rewriting * authentication (plain files, htpasswd, ldap) * transparent content compression * conditional configuration and configuration is straight-forward and easy. if LIGHTTPD menu "base settings " config LIGHTTPD_ATTR bool prompt "extended attribute support" help Enable extended attribute support. config LIGHTTPD_LUA bool prompt "lua engine" help lua engine for mod_cml and mod_magnet config LIGHTTPD_OPENSSL bool prompt "openssl support" help Include openssl support. config LIGHTTPD_PCRE bool prompt "pcre support" help Enable pcre support. WARNING: pcre is no longer maintained. Please move to pcre2 instead! endmenu menu "modules " config LIGHTTPD_MOD_ACCESSLOG bool prompt "mod_accesslog" default y help flexible logging of requests served config LIGHTTPD_MOD_AUTH bool prompt "mod_auth" default y help User authentication config LIGHTTPD_MOD_DEFLATE bool prompt "mod_deflate" help Output compression support. if LIGHTTPD_MOD_DEFLATE config LIGHTTPD_ZLIB bool prompt "zlib support" help Enable zlib support for mod_deflate. config LIGHTTPD_ZSTD bool prompt "zstd support" help Enable zstd support for mod_deflate. config LIGHTTPD_BZ2LIB bool prompt "bz2lib support" help Enable bzip2 support for mod_deflate. endif config LIGHTTPD_MOD_DIRLISTING bool prompt "mod_dirlisting" default y help Creates an HTML page listing the contents of the target directory. config LIGHTTPD_MOD_FASTCGI_PHP bool depends on PHP8_SAPI_CGI prompt "setup php handling with fastcgi" help Enables the necessary packages and configuration files to enable PHP support in lighttpd comment "PHP CGI SAPI must be enabled" depends on !PHP8_SAPI_CGI config LIGHTTPD_MOD_H2 bool prompt "mod_h2" default y help HTTP/2 support To use lighttpd without HTTP/2 you need to disable it in the configuration file: server.feature-flags += ( "server.h2proto" => "disable" ) config LIGHTTPD_MOD_MAGNET bool select LIGHTTPD_LUA prompt "mod_magnet" help A module to control the request handling config LIGHTTPD_MOD_WEBDAV bool prompt "mod_webdav" help The WebDAV module is a very minimalistic implementation of RFC 2518. Minimalistic means that not all operations are implemented yet. if LIGHTTPD_MOD_WEBDAV config LIGHTTPD_WEBDAV_PROPS bool prompt "properties in mod_webdav" help properties in mod_webdav endif config LIGHTTPD_MOD_EXTRA string prompt "extra modules" default "" help Space sparated list of modules to add to lighttpd.conf comment "-----------------------------" config LIGHTTPD_INSTALL_SELECTED_MODULES bool prompt "only install selected modules" endmenu menu "startup " config LIGHTTPD_STARTSCRIPT bool default y depends on INITMETHOD_BBINIT prompt "install /etc/init.d/lighttpd" config LIGHTTPD_SYSTEMD_UNIT bool default y depends on SYSTEMD prompt "install systemd unit files for lighttpd" endmenu config LIGHTTPD_GENERIC_SITE bool default y prompt "Populate a generic website" help This install a generic website into /var/www/index.html from /projectroot/var/www/lighttpd.html and some php demos. endif