Commit Graph

204 Commits (6c8578681d9756f9e171f56e3d95e702d2540ab2)

Author SHA1 Message Date
Glenn Strauss 6c8578681d [doc] SELinux: setsebool -P httpd_setrlimit on
document setrlimit() under SELinux may need one-time setup
  setsebool -P httpd_setrlimit on
2021-12-10 01:46:55 -05:00
Glenn Strauss be82f3d2e1 [doc] improve sample configs 2021-11-05 11:53:57 -04:00
Glenn Strauss 55d787cd55 [doc] expand vhosts.template 2021-11-05 06:52:45 -04:00
Istiak Ferdous 299220ac0d [doc] improve sample configs
(commit msg edited by gstrauss)
2021-11-05 06:37:46 -04:00
Glenn Strauss 92cdf84951 [doc] uncomment mod_auth load in conf.d/auth.conf
uncomment mod_auth load in conf.d/auth.conf to match other conf.d/*
2021-10-27 04:16:38 -04:00
Istiak Ferdous 94edf7e844 [doc] update config files
github: closes #108
2021-10-02 23:06:09 -04:00
Glenn Strauss d958cf3262 [doc] 2021-09-08 15:06:06 -04:00
Glenn Strauss 0b4733f244 [doc] -v silent for mult vnd
Do not issue trace if multiple */vnd.* register the same extension

(silently mark mime-type for extension as application/octet-stream)
2021-01-09 12:39:45 -05:00
Glenn Strauss be8909833b [doc] -v for warnings
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.
2021-01-08 07:10:31 -05:00
Glenn Strauss 35675284a2 [doc] improve case handling
make more resilient to questionable edits
to /etc/mime.types

non-vnd.* subtype takes precedence over vnd.* subtype
  (type/subtype, e.g. text/plain)

  "lighttpd: does not start with media-types 1.1.0"
2021-01-07 10:45:24 -05:00
Glenn Strauss a282a57148 [doc] improve case handling
make more resilient to questionable edits
to /etc/mime.types

  "lighttpd: does not start with media-types 1.1.0"
2021-01-05 12:52:14 -05:00
Glenn Strauss db0cd76618 [build] add GNUMAKEFLAGS=--no-print-directory
quiet some automake noise during build
(can use 'make -s' to quiet more)

In doc/ and tests/docroot/, add GNUMAKEFLAGS=--no-print-directory -s
2020-12-27 21:37:28 -05:00
Glenn Strauss 4933a2259b [core] warn if mod_authn_file needed in conf
warn if mod_authn_file is not listed in lighttpd.conf, but is needed
2020-12-13 06:01:51 -05:00
Glenn Strauss 8a2f9c1173 [TLS] POSIX sh compat (fixes #3043)
(thx flynn)  (patch from flynn)

  " not POSIX compatible"
2020-12-09 17:07:43 -05:00
Glenn Strauss d5e899e299 [doc] refresh doc/config/conf.d/mime.conf 2020-10-30 00:27:14 -04:00
Glenn Strauss fef1a94509 [doc] /var/run -> /run 2020-10-22 00:24:22 -04:00
Glenn Strauss dab212b5f5 [doc] change mod_compress refs to mod_deflate 2020-10-21 19:14:55 -04:00
Glenn Strauss 2f7839e88f [doc] comment out config disabling Range for .pdf
comment out lighttpd.conf config disabling Range requests for .pdf

bug in Adobe Acrobat Reader browser plugin dates to over 10 years ago
one possible workaround was to disable "fast web view" in the
  Adobe Acrobat Reader

bug in Chrome fixed in 2015

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.
2020-10-19 21:40:14 -04:00
Glenn Strauss a7136aac8e [doc] refresh doc/config/*/* 2020-10-11 12:19:26 -04:00
Glenn Strauss f2e4e83a85 [mod_dirlisting] fix config parsing crash
(bug on master branch; never released)

(thx avij)

update doc that dir-listing.hide-dotfiles = "enable" by default
since lighttpd 1.4.40
2020-10-11 12:19:26 -04:00
Glenn Strauss 2cdb862787 [scripts] enhancements
support validation from list of multiple signers

attempt to handle older (end-of-life) versions of OpenSSL

(thx avij)
2020-10-11 12:19:26 -04:00
Jeff Zignego 3470919212 Add avahi service file under doc/avahi/
github: closes #104
2020-08-03 11:32:30 -04:00
Glenn Strauss 672891a7d6 [doc] mod_compress -> mod_deflate 2020-08-02 06:46:22 -04:00
Glenn Strauss 0563407d09 [TLS] - refresh OCSP responses (#2469)
convenience script that can be run periodically from scheduled job
to refresh OCSP responses used for OCSP stapling
2020-07-08 22:51:31 -04:00
Glenn Strauss 9570cc2f5c [doc] update comments in doc/config/modules.conf 2020-07-08 22:51:31 -04:00
Glenn Strauss c752d4696e [multiple] correct misspellings in comments
  "Script for fixing spelling errors with codespell"
2020-07-08 19:54:30 -04:00
Glenn Strauss e11f72b11d [doc] lighttpd.conf: lighttpd choose event-handler
comment out server.event-handler in sample lighttpd.conf
so that lighttpd chooses the recommended event-handler
for each OS
2020-07-08 19:54:29 -04:00
Glenn Strauss 48e272b347 [doc] add link to wiki in doc/outdated/ssl.txt 2020-07-08 19:54:29 -04:00
Elan Ruusamäe 15cdc313b5 [config] update /var/run -> /run for systemd
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/ → /run/;
> please update the unit file accordingly.

- a2d1fb882c
- Filesystem Hierarchy Standard 3.0 (FHS 3.0)

github: closes #100
2020-01-30 21:47:36 -05:00
Elan Ruusamäe 4f0261e5e1 [doc] systemd socket activation config example
(minor edits by gstrauss)

github: closes #96

  "doc/systemd: add example lighttpd.socket for systemd socket activation"
2019-05-11 02:21:03 -04:00
Glenn Strauss 49e9f0acdc [doc] highlight relevance of module load order (fixes #2946)
  "modules.conf order unhelpful (setenv vs. redirect)"
2019-05-04 17:10:35 -04:00
Glenn Strauss 1f7afa9c70 [doc] minor adjust regex match (#2942)
'-' 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)

  "incorrect behaviour of"
2019-03-14 01:38:46 -04:00
Glenn Strauss 8efa6a34f4 [mod_openssl] default: ssl.cipher-list = "HIGH" 2019-03-07 00:32:17 -05:00
Stefan Bühler 9b7a32ea70 [doc/conf] resolve some mime type conflicts from debian buster, regenerate mime.conf 2019-01-13 15:26:27 -05:00
Glenn Strauss ae9f354bae [doc] lighttpd.service uses
doc/systemd/lighttpd.service now uses
instead of, as recommended in

(thx janik)
2018-09-23 18:01:58 -04:00
Glenn Strauss 1c594f0629 [doc] minor update to *outdated* doc
  "unknown config-key: auth.debug (ignored)"

github: closes #89
2018-01-19 22:20:16 -05:00
Glenn Strauss d4cdaab15b [doc] fix doc/config/conf.d/fastcgi.conf example
  "Lighttpd not starting up with default fastcgi config"
2017-11-09 22:16:22 -05:00
Glenn Strauss 0c1aed55d5 [doc] use https:// URLs to resources 2017-10-22 15:01:48 -04:00
Gaël PORTAY e422ac128a [mod_openssl] for CRL (fixes #2319)
(original patch by binbrain, and updated by flynn)

github: closes #82

  "Support CRLs for client certificate verification"
2017-05-15 22:02:33 -04:00
Glenn Strauss 46ff978fa0 [doc] simple-vhost.debug takes an integer value (fixes #2797) 2017-03-13 13:50:07 -04:00
Stefan Bühler 1c3e7095d9 [mime.conf] add text/markdown to utf-8 list, regenerate mime.conf 2017-01-31 14:40:05 -05:00
Glenn Strauss 0ae6bab4a9 [doc] SIGUSR1 doc and lighttpd-angel SIGUSR1
  add paranoid check to avoid sending kill(-1, <signal>) as root
2017-01-31 14:40:05 -05:00
Glenn Strauss 92c724eac6 [doc] doc/initscripts.txt (fixes #2782)
add doc/initscripts.txt with description of lighttpd signal handling
  and links to the initscripts of various operating system distros

remove doc/initscripts/*

  "init scripts outdated, should be removed"
2017-01-31 14:40:02 -05:00
Glenn Strauss 1584c5d7d2 [doc] remove reference to Linux rt-signals
Linux rt-signals fdevent mechanism was removed a while ago
2016-12-05 02:55:22 -05:00
sugilog 331ac4f177 set systemd settings similar to lighttpd2
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]

2016-12-05 02:40:12 -05:00
fbrosson 4481489078 suggest inclusion of mod_geoip... before mod_ssi.
* 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
2016-12-05 02:40:12 -05:00
Glenn Strauss f664e77909 load mod_auth & mod_authn_file in sample/test.conf 2016-11-29 22:32:28 -05:00
Stefan Bühler 8e678653be [autobuild] put ax_prog_cc_for_build.m4 in top directory
- "autoreconf --force --install" should be enough to get autobuild
  running, manual cp / running ./ should not be required
- reorganize files laters, e.g. scripts/{cmake,m4}
- include ax_prog_cc_for_build.m4 manually in as it is not
  automatically loaded if it is not in m4/
2016-10-29 18:02:12 +02:00
Glenn Strauss cd48c2804b move script to doc/scripts/ax_prog_cc_for_build.m4
m4/ directory is listed in .gitignore and should be generated
2016-10-29 09:51:37 -04:00
Glenn Strauss 4943dac851 [doc] lighttpd-angel.8 (fixes #2254)
  "lighttpd-angel doesn't have man page"
2016-10-18 13:09:48 -04:00