|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| doc/ | H | 03-May-2022 | - | 8,038 | 5,693 |
| m4/ | H | 04-Dec-2021 | - | 9,060 | 8,188 |
| scripts/ | H | 04-Dec-2021 | - | 372 | 332 |
| src/ | H | 03-May-2022 | - | 128,410 | 99,308 |
| tests/ | H | 03-May-2022 | - | 5,961 | 4,910 |
| AUTHORS | H A D | 04-Dec-2021 | 240 | 8 | 7 |
| COPYING | H A D | 04-Dec-2021 | 1.5 KiB | 32 | 23 |
| INSTALL | H A D | 04-Dec-2021 | 5.8 KiB | 207 | 163 |
| Makefile.am | H A D | 04-Dec-2021 | 334 | 12 | 6 |
| Makefile.in | H A D | 04-Dec-2021 | 27.4 KiB | 896 | 798 |
| NEWS | H A D | 04-Dec-2021 | 184.9 KiB | 3,708 | 3,545 |
| README | H A D | 04-Dec-2021 | 3.7 KiB | 156 | 115 |
| README.FreeBSD | H A D | 04-Dec-2021 | 1 KiB | 37 | 32 |
| SConstruct | H A D | 04-Dec-2021 | 21.4 KiB | 785 | 683 |
| aclocal.m4 | H A D | 04-Dec-2021 | 55.5 KiB | 1,548 | 1,397 |
| ar-lib | H A D | 04-Dec-2021 | 5.7 KiB | 272 | 211 |
| autogen.sh | H A D | 04-Dec-2021 | 484 | 22 | 13 |
| compile | H A D | 04-Dec-2021 | 7.2 KiB | 349 | 259 |
| config.guess | H A D | 04-Dec-2021 | 43.1 KiB | 1,487 | 1,294 |
| config.h.in | H A D | 04-Dec-2021 | 13.8 KiB | 602 | 412 |
| config.sub | H A D | 04-Dec-2021 | 30.7 KiB | 1,791 | 1,636 |
| configure | H A D | 04-Dec-2021 | 666.7 KiB | 23,289 | 19,429 |
| configure.ac | H A D | 04-Dec-2021 | 49.9 KiB | 1,923 | 1,693 |
| depcomp | H A D | 04-Dec-2021 | 23 KiB | 792 | 502 |
| distribute.sh.in | H A D | 04-Dec-2021 | 1.7 KiB | 86 | 67 |
| install-sh | H A D | 04-Dec-2021 | 15.3 KiB | 530 | 346 |
| ltmain.sh | H A D | 04-Dec-2021 | 316.6 KiB | 11,150 | 7,980 |
| meson.build | H A D | 04-Dec-2021 | 797 | 20 | 13 |
| missing | H A D | 04-Dec-2021 | 6.7 KiB | 216 | 143 |
README
1
2========
3lighttpd
4========
5
6-------------
7a light httpd
8-------------
9
10:abstract:
11 lighttpd a secure, fast, compliant and very flexible web-server
12 which has been optimized for high-performance environments. It has a very
13 low memory footprint compared to other webservers and takes care of cpu-load.
14 Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression,
15 URL-Rewriting and many more) make lighttpd the perfect webserver-software
16 for every server that is suffering load problems.
17
18:documentation:
19 https://redmine.lighttpd.net/projects/lighttpd/wiki/
20
21the naming
22----------
23
24lighttpd is a __httpd__ which is
25
26- fast as __light__ning and
27- __light__ when it comes to memory consumption and system requirements
28
29Features
30--------
31
32Network
33```````
34
35- IPv4, IPv6
36
37Protocols
38`````````
39
40- HTTP/2 (https://tools.ietf.org/rfc/rfc7540.txt)
41- HTTP/1.1 (https://tools.ietf.org/rfc/rfc2616.txt)
42- HTTP/1.0 (https://tools.ietf.org/rfc/rfc1945.txt)
43- HTTPS (via one of openssl, BoringSSL, LibreSSL, mbedTLS, wolfSSL, GnuTLS, NSS)
44- CGI/1.1 (https://tools.ietf.org/html/rfc3875.txt)
45- FastCGI (http://www.fastcgi.com/devkit/doc/fcgi-spec.html)
46
47Advanced Features
48`````````````````
49
50- load-balanced FastCGI, SCGI, reverse-proxy, socket proxy, websocket tunnel
51 (one webserver distributes requests to multiple PHP-servers via FastCGI)
52- streaming FastCGI, SCGI, reverse-proxy, socket proxy, websocket tunnel
53- custom error pages (for Response-Code 400-599)
54- virtual hosts
55- directory listings
56- URL-Rewriting
57- HTTP-Redirection
58- output-compression with transparent caching
59
60FastCGI-Support
61```````````````
62
63- parses the Response-header and completes the HTTP-header accordingly
64- Keep-Alive handling based on Content-Length header
65
66PHP-Support
67```````````
68
69- same speed as or faster than apache + mod_php4
70- handles various PHP bugs in the FastCGI SAPI
71- includes a utility to spawn FastCGI processes (necessary for PHP 4.3.x)
72
73Security features
74`````````````````
75
76- chroot(), set UID, set GID
77- protecting docroot
78
79HTTP/1.1 features
80`````````````````
81
82- Ranges (start-end, start-, -end, multiple ranges)
83- HTTP/1.0 Keep-Alive + HTTP/1.1 persistent Connections
84- methods: GET, HEAD, POST
85- Last-Modified + If-Modified handling
86- sends Content-Length if possible
87- sends Transfer-Encoding: chunk, if Content-Length is not possible
88- sends Content-Type
89- on-the-fly output compression (deflate, gzip)
90- authentication: basic and digest
91 (http://www.ietf.org/rfc/rfc2617.txt)
92
93HTTP/1.1 compliance
94```````````````````
95
96- Sends 206 for Range Requests
97- Sends 304 for If-Modified Requests
98- Sends 400 for missing Host on HTTP/1.1 requests
99- Sends 400 for broken Request-Line
100- Sends 411 for missing Content-Length on POST requests
101- Sends 416 for "out-of-range" on Range: Header
102- Sends 501 for request-method != (GET|POST|HEAD)
103- Sends 505 for protocol != HTTP/1.0 or HTTP/1.1
104- Sends Date: on every requests
105
106Intended Audience
107-----------------
108
109- Ad-Server Front-Ends ("Banner-Schleuder")
110 - delivering small files rapidly
111- php-servers under high load
112 (load-balancing the php-request over multiple PHP-servers)
113
114Works with
115----------
116
117It has been tested to work with
118
119- IE 6.0
120- Mozilla 1.x
121- Konqueror 3.1
122 (for Keep-Alive/Persistent Connections, Accept-Encoding for PHP + gzip)
123- wget
124 (for Resuming)
125- acrobat plugin
126 (for multiple ranges)
127
128
129Works on
130--------
131
132lighttpd has been verified to compile and work on
133
134- Linux
135- FreeBSD
136- NetBSD
137- OpenBSD
138- Solaris 8 + 9
139- SGI IRIX 6.5
140- Windows (when compiled under cygwin)
141(and will likely compile and run on most unix-like systems with C99 compiler)
142
143-----------------
144Starting lighttpd
145-----------------
146
147As daemon in the background: ::
148
149 $ lighttpd -f <configfile>
150
151or without detaching from the console: ::
152
153 $ lighttpd -D -f <configfile>
154
155
156
README.FreeBSD
1
2FreeBSD dependencies:
3
4- compiler:
5 pkg install gcc11
6 or
7 pkg install llvm13
8- autotools + pkgconf (for builds from svn/git)
9 pkg install autotools pkgconf
10- pkgconf might be needed to find libs in build from tarball too:
11 pkg install pkgconf
12- building with cmake + ninja instead of autotools:
13 pkg install cmake ninja
14- stack traces on asserts:
15 pkg install libunwind
16- PCRE (mod_rewrite, mod_redirect, config conditionals, ...)
17 pkg install pcre2
18- TLS support (and mod_auth {SHA1} support)
19 pkg install libressl
20 or
21 pkg install openssl
22- Lua 5.1, 5.2, 5.3, or 5.4 (mod_magnet)
23 pkg install lua51 (or lua52 or lua53 or lua54)
24- LDAP (mod_auth feature)
25 pkg install openldap-client
26- SQLite3 (required for most mod_webdav features)
27 pkg install sqlite3
28- XML (mod_webdav properties and locking)
29 pkg install libxml2
30- UUID library (mod_webdav locking)
31 pkg install e2fsprogs-libuuid
32
33Configure:
34
35To help autotools find libraries and headers:
36CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure ...
37