Glenn Strauss
3888a1419e
[doc] add ref to RFC 7232 for conditional requests
6 years ago
Glenn Strauss
8de5f41577
[doc] add mimetype.use-xattr to conf.d/mime.conf
...
x-ref:
"Migrate to freedesktop.org definition of xattr mimetype"
https://redmine.lighttpd.net/issues/2631
6 years ago
Glenn Strauss
71ed1912c7
[config] server.listen-backlog option ( fixes #1825 , #2116 )
...
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
6 years ago
fbrosson
6982b1930e
[mod_ssi] config ssi.conditional-requests
...
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.
6 years ago
Glenn Strauss
c4edd35655
skip spawning backends for preflight tests ( #2642 )
...
Also, update man page for lighttpd -tt
x-ref:
"add option for "fail on warning""
https://redmine.lighttpd.net/issues/2642
6 years ago
fbrosson
36a266ec29
fix links to online docs in template config files
...
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
6 years ago
Stefan Bühler
bfaa48260a
[mod_secdownload] add required algorithm option; old behaviour available as "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
7 years ago
Stefan Bühler
593599f14a
rewrite network (write) backends
...
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
7 years ago
Stefan Bühler
8db141a1b3
mime.conf: add some new mime types, remove .dat, .sha1, .md5, update .vcf
...
- 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
7 years ago
Stefan Bühler
e6925949ab
add some until now missing files to dist tarball
...
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
7 years ago
Marcus Rückert
e1aab1c420
Fixed typo found by openSUSE user (boo# 907709)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2970 152afb58-edef-0310-8abb-c4023f1b3aa9
8 years ago
Stefan Bühler
3b23130ea2
add more mime types and a script to generate mime.conf (fxies #2579 )
...
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
8 years ago
Stefan Bühler
3ca6adc233
[docs] add !kPSK to the cipher string recommendation as the comments before 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
9 years ago
Stefan Bühler
cdcd49b547
[doc] update ssl.cipher-list recommendation
...
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
9 years ago
Marcus Rückert
292b8d621b
move ssl.disable-client-renegotiation and added note that it currently doesnt work inside conditionals
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2889 152afb58-edef-0310-8abb-c4023f1b3aa9
9 years ago
Marcus Rückert
838d771550
added mime type for json files
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2874 152afb58-edef-0310-8abb-c4023f1b3aa9
9 years ago
Stefan Bühler
10e5fda664
[doc] add systemd/lighttpd.service to Makefiles, so it ends up in the tarball
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2821 152afb58-edef-0310-8abb-c4023f1b3aa9
11 years ago
Stefan Bühler
13d0440ac5
[doc] add systemd lighttpd.service file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2818 152afb58-edef-0310-8abb-c4023f1b3aa9
11 years ago
Stefan Bühler
d83b009d54
[doc] fix ssl config exaple for ssl.cipher-list
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2817 152afb58-edef-0310-8abb-c4023f1b3aa9
11 years ago
Stefan Bühler
d964e49874
[ssl] document new options in config example
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2814 152afb58-edef-0310-8abb-c4023f1b3aa9
11 years ago
Stefan Bühler
0f96222e7e
[ssl] add option to honor server cipher order, true by default ( fixes #2364 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2810 152afb58-edef-0310-8abb-c4023f1b3aa9
11 years ago
Stefan Bühler
960d34c7ea
[doc] Move docs to outdated/ subdir and refer to wiki instead ( fixes #2248 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2795 152afb58-edef-0310-8abb-c4023f1b3aa9
11 years ago
Marcus Rückert
ac087bd9c7
- a bit more cleanup in the docs dir
...
- 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
12 years ago
Marcus Rückert
9b2f794c2c
- fix makefiles for the new files
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2739 152afb58-edef-0310-8abb-c4023f1b3aa9
12 years ago
Marcus Rückert
433c2a0c0d
- replace old default config with my config from opensuse. #2203
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2738 152afb58-edef-0310-8abb-c4023f1b3aa9
12 years ago
Stefan Bühler
175ad79a0b
Fix configure.ac to allow autoreconf, also enables make V=0
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2693 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
64c2e93336
Cleanup tree: remove .cvsignore and ChangeLog (deprecated by NEWS)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2600 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
97faac295b
Update fastcgi doc
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2599 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
0544f34ee3
Add '%_' pattern for complete hostname in mod_evhost ( fixes #1737 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2483 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
4c7c0b815e
Make mod_extforward headers configurable ( fixes #1545 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2482 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
0226d4bf36
Add option to enable TCP_DEFER_ACCEPT ( fixes #1447 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2479 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
63a010f686
Add some dirlisting enhancements ( fixes #1458 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2478 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
a8ad0477a8
Some small example-config updates ( fixes #1540 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2444 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
b8b4fe19c8
Finally removed spawn-fcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2423 152afb58-edef-0310-8abb-c4023f1b3aa9
13 years ago
Stefan Bühler
4311740cde
New lighttpd man page (moved it to section 8) ( fixes #1875 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2415 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
19963e8c8c
Fix autogen.sh warning (gnu make extensions in doc/)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2406 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
e47ee9b8ba
[doc] dos2unix doc/magnet.txt
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2402 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
066b208bb6
Added Language conditional ( fixes #1119 ); patch by petar
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2392 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
36f74e5d23
Revert url decoding+simplifying before matching of mod_rewrite/mod_redirect
...
- 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
14 years ago
Elan Ruusamäe
d64b33e193
- updated doc from wiki
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2334 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Elan Ruusamäe
c6c2bf8308
- Add possibility to disable methods in mod_compress ( #1773 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2325 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
78db184594
[doc] added dir-listing.encoding to the example config
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2312 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
19588f6ee6
Hide some ssl errors per default, enable them with debug.log-ssl-noise ( #397 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2291 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
763f88406e
Update documentation for #1587
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2130 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
45e388b2a7
- add .jar mimetype. #1503
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2051 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
d6b9709b54
- support for matching $HTTP["scheme"] in configs, patch from:
...
http://trac.lighttpd.net/trac/wiki/HowToRedirectHttpToHttps
apparently by swiergot/at/gmail.com, adjusted for current svn.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2012 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Marcus Rückert
777c383e58
- cleanup of the default config which includes a fix for ( #1242 )
...
- make paths more LSB alike
- added default mime type
- use example.org
- use new name of the php fastcgi binary
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1907 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
f68fd405f4
- add mod_extforward module from wiki
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1665 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
ad4af113a6
added magnet.txt to the distribution
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1391 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
3df7b7421e
- added docs for mod_magnet
...
curl 'http://trac.lighttpd.net/trac/wiki/Docs%3AModMagnet?format=txt ' > magnet.txt
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1388 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago