| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Do not issue trace if multiple */vnd.* register the same extension
(silently mark mime-type for extension as application/octet-stream)
|
|
|
|
|
|
|
| |
Do not issue warnings about duplicated entries unless called with -v
/etc/mime.types is not typically edited by the end user,
so the warning trace is noise to most end users.
|
|
|
|
|
|
|
|
|
|
|
|
| |
make create-mime.conf.pl more resilient to questionable edits
to /etc/mime.types
non-vnd.* subtype takes precedence over vnd.* subtype
(type/subtype, e.g. text/plain)
x-ref:
"lighttpd: does not start with media-types 1.1.0"
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979232
|
|
|
|
|
|
|
|
|
| |
make create-mime.conf.pl more resilient to questionable edits
to /etc/mime.types
x-ref:
"lighttpd: does not start with media-types 1.1.0"
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979232
|
|
|
|
|
|
|
| |
quiet some automake noise during build
(can use 'make -s' to quiet more)
In doc/ and tests/docroot/, add GNUMAKEFLAGS=--no-print-directory -s
|
|
|
|
| |
warn if mod_authn_file is not listed in lighttpd.conf, but is needed
|
|
|
|
|
|
|
|
| |
(thx flynn) (patch from flynn)
x-ref:
"cert-staple.sh not POSIX compatible"
https://redmine.lighttpd.net/issues/3043
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
comment out lighttpd.conf config disabling Range requests for .pdf
bug in Adobe Acrobat Reader browser plugin dates to over 10 years ago
https://redmine.lighttpd.net/issues/171
https://redmine.lighttpd.net/issues/541
https://jarrettbroder.blogspot.com/2010/11/adobe-acrobat-reader-plugin-stalls-when.html
one possible workaround was to disable "fast web view" in the
Adobe Acrobat Reader
bug in Chrome fixed in 2015
https://bugs.chromium.org/p/chromium/issues/detail?id=442318
However, there still may be issues with PDF readers mishandling Range
requests, e.g. with coalesced ranges, so the section remains in the
sample lighttpd.conf, but is commented out.
https://github.com/mozilla/pdf.js/issues/9022
|
| |
|
|
|
|
|
|
|
|
|
| |
(bug on master branch; never released)
(thx avij)
update doc that dir-listing.hide-dotfiles = "enable" by default
since lighttpd 1.4.40 https://redmine.lighttpd.net/issues/1081
|
|
|
|
|
|
|
|
| |
support validation from list of multiple signers
attempt to handle older (end-of-life) versions of OpenSSL
(thx avij)
|
|
|
|
| |
github: closes #104
|
| |
|
|
|
|
|
| |
convenience script that can be run periodically from scheduled job
to refresh OCSP responses used for OCSP stapling
|
| |
|
|
|
|
|
|
| |
x-ref:
"Script for fixing spelling errors with codespell"
https://redmine.lighttpd.net/boards/3/topics/8947
|
|
|
|
|
|
| |
comment out server.event-handler in sample lighttpd.conf
so that lighttpd chooses the recommended event-handler
for each OS
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This gets rid of the warning:
> May 19 10:56:32 buster systemd[1]: /lib/systemd/system/lighttpd.service:6:
> PIDFile= references path below legacy directory /var/run/,
> updating /var/run/lighttpd.pid → /run/lighttpd.pid;
> please update the unit file accordingly.
refs:
- https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069
- https://github.com/systemd/systemd/pull/9019
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929203
- Filesystem Hierarchy Standard 3.0 (FHS 3.0)
github: closes #100
|
|
|
|
|
|
|
|
|
|
| |
(minor edits by gstrauss)
github: closes #96
x-ref:
"doc/systemd: add example lighttpd.socket for systemd socket activation"
https://github.com/lighttpd/lighttpd1.4/pull/96
|
|
|
|
|
|
| |
x-ref:
"modules.conf order unhelpful (setenv vs. redirect)"
https://redmine.lighttpd.net/issues/2946
|
|
|
|
|
|
|
|
|
|
|
|
| |
'-' in char class should be at beginning or end, or escaped with \-
so that it does not signify a char range in the char class
(In the prior regex, the misuse permitted matching the comma char,
which while mostly harmless, was not what was intended)
x-ref:
"incorrect behaviour of create-mime.assign.pl"
https://redmine.lighttpd.net/issues/2942
|
| |
|
|
|
|
| |
mime.conf
|
|
|
|
|
|
|
|
| |
doc/systemd/lighttpd.service now uses After=network-online.target
instead of After=network.target, as recommended in
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
(thx janik)
|
|
|
|
|
|
|
|
| |
x-ref:
"unknown config-key: auth.debug (ignored)"
https://redmine.lighttpd.net/boards/2/topics/7842
github: closes #89
|
|
|
|
|
|
| |
x-ref:
"Lighttpd not starting up with default fastcgi config"
https://redmine.lighttpd.net/boards/2/topics/7780
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(original patch by binbrain, and updated by flynn)
github: closes #82
x-ref:
"Support CRLs for client certificate verification"
https://redmine.lighttpd.net/issues/2319
https://github.com/lighttpd/lighttpd1.4/pull/82
|
| |
|
| |
|
|
|
|
|
| |
lighttpd-angel:
add paranoid check to avoid sending kill(-1, <signal>) as root
|
|
|
|
|
|
|
|
|
|
|
| |
add doc/initscripts.txt with description of lighttpd signal handling
and links to the initscripts of various operating system distros
remove doc/initscripts/*
x-ref:
"init scripts outdated, should be removed"
https://redmine.lighttpd.net/issues/2782
|
|
|
|
| |
Linux rt-signals fdevent mechanism was removed a while ago
|
|
|
|
|
|
|
|
|
|
|
|
| |
except that HUP does not reload lighttpd 1.4.x config
Those who only use systemd lighttpd service 'reload' to rotate
access log files might choose to add a command to send lighttpd a
HUP signal. See github pull request (below) for further discussion.
[patch edited by gstrauss]
x-ref:
https://github.com/lighttpd/lighttpd1.4/pull/72
|
|
|
|
|
|
|
|
| |
* In modules.conf, mod_geoip needs to be loaded before mod_ssi,
otherwise GeoIP vars won't be available to SSI pages.
* In geoip.conf suggest GeoLiteCity.dat instead of GeoCityLite.dat.
github: closes #73
|
| |
|
|
|
|
|
|
|
|
| |
- "autoreconf --force --install" should be enough to get autobuild
running, manual cp / running ./autogen.sh should not be required
- reorganize files laters, e.g. scripts/{cmake,m4}
- include ax_prog_cc_for_build.m4 manually in configure.ac as it is not
automatically loaded if it is not in m4/
|
|
|
|
| |
m4/ directory is listed in .gitignore and should be generated
|
|
|
|
|
|
| |
x-ref:
"lighttpd-angel doesn't have man page"
https://redmine.lighttpd.net/issues/2254
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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.
|
|
|
|
|
|
| |
x-ref:
"Migrate to freedesktop.org definition of xattr mimetype"
https://redmine.lighttpd.net/issues/2631
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#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
|