summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* [mod_geoip] add to default build (fixes #2705, fixes #2101, fixes #2092, ↵Glenn Strauss2016-09-131-0/+148
| | | | | | | | | | | | | | | | | | | | fixes #2025, fixes #1962, fixes #1938) (add to default build to reduce distributor package maintenance) x-ref: "broken module API since 1.4.38" https://redmine.lighttpd.net/issues/2705 "lighttpd-1.4.24 fails to compile with mod_geoip.c" https://redmine.lighttpd.net/issues/2101 "unsafe sprintfs mod_geoip" https://redmine.lighttpd.net/issues/2092 "mod_geoip crashes lighttpd 1.5.x on FreeBSD 7.2 AMD64" https://redmine.lighttpd.net/issues/2025 "mod_geoip" https://redmine.lighttpd.net/issues/1962 "lighttpd 1.4 crashes on FreeBSD 7.0 AMD64 when mod_geoip compiled in" https://redmine.lighttpd.net/issues/1938
* [doc] update memcache references to memcachedGlenn Strauss2016-07-172-3/+3
|
* [config] server.bsd-accept-filter optionGlenn Strauss2016-06-041-1/+8
| | | | | | | | | | | | | | | | | BSD accept() filters server.bsd-accept-filter = "" (default) server.bsd-accept-filter = "httpready" server.bsd-accept-filter = "dataready" Note: this is a behavior change from prior versions. The default is now no additional accept() filter, whereas prior versions unconditionally enabled "httpready" accept() filter Additionally, server.defer-accept (Linux) is inherited from global scope into $SERVER["socket"] blocks github: closes #65
* [core] lighttpd -1 handles single request on stdin socket (fixes #1584)Glenn Strauss2016-05-021-0/+3
| | | | | | | | | | | | | | (e.g. when called from xinetd) Note: lighttpd is designed as a high performance, long-running server, not a one-shot executable. This one-shot mode of operation has not been tuned for performance. lighttpd server start-up and initialization aims for correctness, not speed. If using this one-shot mode as part of fork and exec from xinetd, then performance is already not of high concern. x-ref: "support for xinetd" https://redmine.lighttpd.net/issues/1584
* [core] cmd line opt to shutdown after idle time limit (fixes #2696)Glenn Strauss2016-05-021-0/+3
| | | | | | | | | | | | | | | | -i <secs> graceful shutdown after <secs> of inactivity Option might be used with applications such as git instaweb. While git instaweb does have command line options of its own to [start,stop,restart], some may find it convenient to configure git instaweb to start lighttpd with a default idle time limit, after which lighttpd will gracefully shut itself down without any further action from the user. x-ref: "[PATCH] support -i <secs> idle timeout option" https://redmine.lighttpd.net/issues/2696 original request and patch submitted by mackyle. thx.
* [doc] add mimetype.use-xattr to create-mime.conf.plGlenn Strauss2016-04-281-2/+13
| | | | | | x-ref: "Migrate to freedesktop.org definition of xattr mimetype" https://redmine.lighttpd.net/issues/2631
* [mod_fastcgi] use http_response_xsendfile() (fixes #799, fixes #851, fixes ↵Glenn Strauss2016-04-271-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #2017, fixes #2076) handle X-Sendfile and X-LIGHTTPD-send-file w/ http_response_xsendfile() if host is configured ( "x-sendfile" = "enable" ) Note: X-Sendfile path is url-decoded for consistency, like X-Sendfile2 (response headers should be url-encoded to avoid tripping over chars allowed in filesystem but which might change response header parsing semantics) Note: deprecated: "allow-x-send-file"; use "x-sendfile" Note: deprecated: X-LIGHTTPD-send-file header; use X-Sendfile header Note: deprecated: X-Sendfile2 header; use X-Sendfile header For now, X-Sendfile2 is still handled internally by mod_fastcgi. Since http_response_send_file() supports HTTP Range requests, X-Sendfile2 is effectively obsolete. However, any code, e.g. PHP, currently using X-Sendfile2 is probably manually generating 206 Partial Content status and Range response headers. A future version of lighttpd might *remove* X-Sendfile2. Existing code should be converted to use X-Sendfile, which is easily done by removing all the special logic around using X-Sendfile2, since the 206 Partial Content status and Range response headers are handled in http_response_send_file(). x-ref: "mod_fastcgi + X-Sendfile -> mod_staticfile" https://redmine.lighttpd.net/issues/799 "Feature Request: New option "x-send-file-docroot"" https://redmine.lighttpd.net/issues/851 "X-Sendfile handoff to mod-static-file in 1.4.x" https://redmine.lighttpd.net/issues/2017 "X-sendfile should be able to set content-type" https://redmine.lighttpd.net/issues/2076
* [doc] add server.error-handlerGlenn Strauss2016-04-251-0/+6
| | | | add server.error-handler in doc/config/lighttpd.conf
* [doc] add ref to RFC 7232 for conditional requestsGlenn Strauss2016-04-241-0/+4
|
* [doc] add mimetype.use-xattr to conf.d/mime.confGlenn Strauss2016-04-241-2/+13
| | | | | | x-ref: "Migrate to freedesktop.org definition of xattr mimetype" https://redmine.lighttpd.net/issues/2631
* [config] server.listen-backlog option (fixes #1825, #2116)Glenn Strauss2016-04-181-0/+29
| | | | | | | | | | | | | | | | See doc/config/lighttpd.conf for explanation of listen() backlog queue Additionally, mod_fastcgi and mod_scgi backend servers can now also be configured with separate listen-backlog settings per server x-ref: "add server.listen-backlog option instead of hard-coded value (128 * 8) for listen()" https://redmine.lighttpd.net/issues/2116 "Don't disable backend when overloaded" https://redmine.lighttpd.net/issues/1825 github: Closes #50
* [mod_ssi] config ssi.conditional-requestsfbrosson2016-04-141-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: A new SSI directive, "ssi.conditional-requests", allows to inform lighttpd which SSI pages should be considered as cacheable and which should not. In particular, the "ETag" & "Last-Modified" headers will only be sent for those SSI pages for which the directive is enabled. Long description: "ETag" and "Last-Modified" headers were being sent for all SSI pages, regardless of whether they were cacheable or not. And yet, there was no cache validation at all for any SSI page. This commit fixes these two minor issues by adding a new directive, "ssi.conditional-requests", which allows to specify which SSI pages are cacheable and which are not, and by adding cache validation to those SSI pages which are cacheable. And since sending ETags for non-cacheable documents is not appropriate, they are no longuer computed nor sent for those SSI pages which are not cacheable. Regarding the "Last-Modified" header for non-cacheable documents, the standards allow to either send the current date and time for that header or to simply skip it. The approach chosen is to not send it for non-cacheable SSI pages. "ETag" and "Last-Modified" headers are therefore only sent for an SSI page if ssi.conditional-requests is enabled for that page. The ssi.conditional-requests directive can be enabled or disabled globally and/or in any context. It is disabled by default. An index.shtml which only includes deterministic SSI commands such as: <!--#echo var="LAST_MODIFIED"--> is a trivial example of a dynamic SSI page that is cacheable.
* skip spawning backends for preflight tests (#2642)Glenn Strauss2016-04-131-0/+3
| | | | | | | | Also, update man page for lighttpd -tt x-ref: "add option for "fail on warning"" https://redmine.lighttpd.net/issues/2642
* fix links to online docs in template config filesfbrosson2016-02-1424-24/+25
| | | | | | From: fbrosson <fbrosson@users.noreply.github.com> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3078 152afb58-edef-0310-8abb-c4023f1b3aa9
* [mod_secdownload] add required algorithm option; old behaviour available as ↵Stefan Bühler2015-11-221-1/+1
| | | | | | | | | | "md5", new options "hmac-sha1" and "hmac-sha256" Differential Revision: https://review.lighttpd.net/D7 From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3054 152afb58-edef-0310-8abb-c4023f1b3aa9
* rewrite network (write) backendsStefan Bühler2015-08-221-2/+2
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3012 152afb58-edef-0310-8abb-c4023f1b3aa9
* mime.conf: add some new mime types, remove .dat, .sha1, .md5, update .vcfStefan Bühler2015-07-072-9/+36
| | | | | | | | | - create-mime.conf.pl: also parse lines with upper case characters - rerun create-mime.conf.pl with debian mime-support 3.58 From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3001 152afb58-edef-0310-8abb-c4023f1b3aa9
* add some until now missing files to dist tarballStefan Bühler2015-06-211-0/+1
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2990 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fixed typo found by openSUSE user (boo# 907709)Marcus Rückert2015-02-051-3/+3
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2970 152afb58-edef-0310-8abb-c4023f1b3aa9
* add more mime types and a script to generate mime.conf (fxies #2579)Stefan Bühler2014-05-132-66/+734
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2964 152afb58-edef-0310-8abb-c4023f1b3aa9
* [docs] add !kPSK to the cipher string recommendation as the comments before ↵lighttpd-1.4.34Stefan Bühler2014-01-201-2/+2
| | | | | | | | already mention From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2933 152afb58-edef-0310-8abb-c4023f1b3aa9
* [doc] update ssl.cipher-list recommendationStefan Bühler2013-11-101-6/+14
| | | | | | From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2918 152afb58-edef-0310-8abb-c4023f1b3aa9
* move ssl.disable-client-renegotiation and added note that it currently ↵Marcus Rückert2013-08-151-5/+8
| | | | | | doesnt work inside conditionals git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2889 152afb58-edef-0310-8abb-c4023f1b3aa9
* added mime type for json filesMarcus Rückert2013-06-251-0/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2874 152afb58-edef-0310-8abb-c4023f1b3aa9
* [doc] add systemd/lighttpd.service to Makefiles, so it ends up in the tarballStefan Bühler2011-12-232-1/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2821 152afb58-edef-0310-8abb-c4023f1b3aa9
* [doc] add systemd lighttpd.service filelighttpd-1.4.30Stefan Bühler2011-12-181-0/+10
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2818 152afb58-edef-0310-8abb-c4023f1b3aa9
* [doc] fix ssl config exaple for ssl.cipher-listStefan Bühler2011-12-181-2/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2817 152afb58-edef-0310-8abb-c4023f1b3aa9
* [ssl] document new options in config exampleStefan Bühler2011-12-061-1/+18
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2814 152afb58-edef-0310-8abb-c4023f1b3aa9
* [ssl] add option to honor server cipher order, true by default (fixes #2364)Stefan Bühler2011-11-301-0/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2810 152afb58-edef-0310-8abb-c4023f1b3aa9
* [doc] Move docs to outdated/ subdir and refer to wiki instead (fixes #2248)Stefan Bühler2011-06-1341-97/+98
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2795 152afb58-edef-0310-8abb-c4023f1b3aa9
* - a bit more cleanup in the docs dirMarcus Rückert2010-07-079-6/+6
| | | | | | | | - move scripts and init scripts into subdirs - remove unused lighttpd.user git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2742 152afb58-edef-0310-8abb-c4023f1b3aa9
* - fix makefiles for the new filesMarcus Rückert2010-07-074-1/+30
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2739 152afb58-edef-0310-8abb-c4023f1b3aa9
* - replace old default config with my config from opensuse. #2203Marcus Rückert2010-07-0729-322/+1595
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2738 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix configure.ac to allow autoreconf, also enables make V=0lighttpd-1.4.25Stefan Bühler2009-11-211-1/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2693 152afb58-edef-0310-8abb-c4023f1b3aa9
* Cleanup tree: remove .cvsignore and ChangeLog (deprecated by NEWS)Stefan Bühler2009-07-231-4/+0
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2600 152afb58-edef-0310-8abb-c4023f1b3aa9
* Update fastcgi docStefan Bühler2009-07-231-35/+30
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2599 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add '%_' pattern for complete hostname in mod_evhost (fixes #1737)Stefan Bühler2009-04-261-0/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2483 152afb58-edef-0310-8abb-c4023f1b3aa9
* Make mod_extforward headers configurable (fixes #1545)Stefan Bühler2009-04-261-2/+11
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2482 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add option to enable TCP_DEFER_ACCEPT (fixes #1447)Stefan Bühler2009-04-261-0/+6
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2479 152afb58-edef-0310-8abb-c4023f1b3aa9
* Add some dirlisting enhancements (fixes #1458)Stefan Bühler2009-04-261-0/+44
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2478 152afb58-edef-0310-8abb-c4023f1b3aa9
* Some small example-config updates (fixes #1540)Stefan Bühler2009-04-091-8/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2444 152afb58-edef-0310-8abb-c4023f1b3aa9
* Finally removed spawn-fcgiStefan Bühler2009-04-032-14/+0
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2423 152afb58-edef-0310-8abb-c4023f1b3aa9
* New lighttpd man page (moved it to section 8) (fixes #1875)Stefan Bühler2009-03-073-20/+72
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2415 152afb58-edef-0310-8abb-c4023f1b3aa9
* Fix autogen.sh warning (gnu make extensions in doc/)Stefan Bühler2009-03-031-1/+1
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2406 152afb58-edef-0310-8abb-c4023f1b3aa9
* [doc] dos2unix doc/magnet.txtStefan Bühler2009-02-191-429/+429
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2402 152afb58-edef-0310-8abb-c4023f1b3aa9
* Added Language conditional (fixes #1119); patch by petarStefan Bühler2009-02-051-0/+8
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2392 152afb58-edef-0310-8abb-c4023f1b3aa9
* Revert url decoding+simplifying before matching of mod_rewrite/mod_redirectStefan Bühler2008-12-072-0/+12
| | | | | | | | | | | | | | - Lot of regressions (we forgot to reencode the result) - Generic problem: after decode and rewrite "a?b?c": which '?' was the path?query seperator? - Possible solution: only decode printable characters (without '?'), and encode the result; do not encode the '%' of a not decoded character. - Still a problem with path simplifying, it seems many people use urls like this: http://server1/http%3a//server2/xxx and rewrite the path into the querystring. - Probably only usable with an extra config option => Do NOT use rewrite/redirect to protect specific urls. git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2362 152afb58-edef-0310-8abb-c4023f1b3aa9
* - updated doc from wikiElan Ruusamäe2008-10-041-11/+131
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2334 152afb58-edef-0310-8abb-c4023f1b3aa9
* - Add possibility to disable methods in mod_compress (#1773)Elan Ruusamäe2008-10-031-0/+6
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2325 152afb58-edef-0310-8abb-c4023f1b3aa9
* [doc] added dir-listing.encoding to the example configStefan Bühler2008-09-231-0/+2
| | | | git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2312 152afb58-edef-0310-8abb-c4023f1b3aa9