Skip to content

OpenLiteSpeed for Windows 1.9.4, update 5

Choose a tag to compare

@NeuralFoundry NeuralFoundry released this 02 Nov 04:41
· 57 commits to main since this release

Adds CGI, automatic Let's Encrypt certificates, reCAPTCHA bot protection and release notices in the tray app.

New

  • CGI programs: .exe, .bat and .cmd files and scripts with a #! line such as Perl or Python. Each program runs in its own job object with a restricted token. The Apache importer converts ScriptAlias, AddHandler cgi-script, SetHandler cgi-script and Options ExecCGI.
  • Free HTTPS certificates from Let's Encrypt with a built-in ACME client. openlitespeed --acme-install --email you@example.com turns it on; certificates are requested for the sites on HTTPS listeners and renewed before they expire, with a zero downtime reload. See docs/ACME.md.
  • reCAPTCHA and hCaptcha challenges for suspicious visitors, and request, bandwidth and connection limits per client IP. See docs/PROTECTION.md.
  • The upload progress and request body parser modules are built in and load when the configuration has a module block for them. See docs/MODULES.md.
  • The tray app checks GitHub once a day and shows a notice when a new release is out. check=0 under [update] in conf\olstray.ini turns this off.

Changed

  • When a visitor cancels a request, lsphp.exe finishes it and handles the next request instead of being restarted. Under load with many cancelled requests, far fewer PHP processes are started.

Fixed

  • reCAPTCHA could be bypassed: when a rewrite rule started a challenge, the next request received the protected page.
  • reCAPTCHA verification failed unless the rewrite rule also matched the verification address.
  • CGI responses for the server level reCAPTCHA page were lost and the request hung.
  • Uploaded files passed to the application by path kept extra bytes at the end.
  • Validation files of webroot ACME clients such as win-acme returned an error.
  • The version information no longer lists mod_security, which is not part of the Windows build.
  • Two test builds of lsphp.exe in bin\lsphp were included by mistake in updates 2 to 4. They were never used and are removed on upgrade.

Downloads

File Use
OpenLiteSpeed-1.9.4-win64-setup.exe Installer for a standalone server, Laragon or XAMPP
OpenLiteSpeed-1.9.4-win64.zip The same files with install.ps1 for scripted deployments
SHA256SUMS.txt Checksums of both files

To update, run the new setup. It finds the existing installation, upgrades it and keeps the configuration.

The files are not code signed yet, so Windows SmartScreen may ask for confirmation the first time. Check the download against SHA256SUMS.txt.