Skip to content

OpenLiteSpeed for Windows 1.9.4, update 6

Choose a tag to compare

@NeuralFoundry NeuralFoundry released this 02 Nov 07:29
· 51 commits to main since this release

Adds the ModSecurity firewall with the OWASP Core Rule Set, an importer for nginx sites, Node.js and Python applications, Lua scripting and the visitor's country from GeoIP databases.

New

  • Web application firewall: ModSecurity 3.0.17 with the OWASP Core Rule Set 4.30. openlitespeed --modsec-install turns it on, --detection-only only logs matches and --remove turns it off. SQL injection, cross site scripting and path traversal in the URL, forms, JSON and XML bodies are answered with 403. See docs/PROTECTION.md.
  • Importer for nginx sites: openlitespeed --import-nginx or Sites > Import nginx sites in the tray app creates a site for every server block, with locations in nginx order of precedence, try_files, rewrites, redirects, aliases, proxies, access rules and passwords. Tested against nginx 1.30 with the same results for 51 of 51 requests. See docs/NGINX.md.
  • Node.js and Python (WSGI) applications through App Server contexts, started, restarted and stopped by the server. See docs/APPS.md.
  • Lua scripting with LuaJIT 2.1 through mod_lua. With maxlinecount and maxruntime, a script that loops forever is stopped; OpenLiteSpeed on Linux cannot do this, because compiled loops never reach the instruction hook. See docs/MODULES.md.
  • The visitor's country from MaxMind GeoIP2 and IP2Location databases, for PHP and for rewrite rules such as blocking countries. See docs/PROTECTION.md.

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.