90%+ Compatible
80 directives: Require, Header, RewriteRule, ExpiresByType, FilesMatch, If/ElseIf/Else and more. WordPress plugins just work.
90%+ Compatible
80 directives: Require, Header, RewriteRule, ExpiresByType, FilesMatch, If/ElseIf/Else and more. WordPress plugins just work.
2x Faster
22,000+ RPS on static files. Only 0.7% overhead from 200-line .htaccess parsing vs Apache’s 4.2%.
30% Less Memory
676 MB baseline vs Apache’s 969 MB. Module adds only +13 MB over stock OLS.
5-Minute Setup
Copy .so, set allowOverride 255, restart. Your .htaccess files work unchanged.
Stock OpenLiteSpeed ignores most .htaccess directives — Require all denied returns 200, Header set is silently skipped, RewriteRule [R=301] returns 404. Security plugins like Wordfence and AIOS are effectively disabled.
LiteHTTPD comes in two editions:
.so module alone on stock OLS. Adds security headers, ACL, authentication, caching, conditionals, and redirects. Ideal for quick deployment.php_value/php_flag, and engine-level Options -Indexes. Required for complete Apache migration.Security
Require all/ip/env, FilesMatch ACL, Options -Indexes, AuthType Basic, IPv6 CIDR access control, brute force protection.
URL Rewriting
RewriteEngine, RewriteCond, RewriteRule with [R=301,L,QSA,F,G] flags, RewriteBase, RewriteOptions, RewriteMap.
Response Headers
Header set/unset/append/merge/add/edit, env=VAR conditionals, Header always, RequestHeader.
Cache Control
ExpiresActive, ExpiresByType, ExpiresDefault with automatic Cache-Control and Expires header generation.
Conditionals
If/ElseIf/Else with ap_expr: ==, !=, =~, -f, -d, -ipmatch. Conditional headers, access control, type overrides.
PHP Config
php_value, php_flag, php_admin_value/flag passed to lsphp via LSIAPI.
| Apache httpd | Stock OLS | LiteHTTPD | LSWS Enterprise | |
|---|---|---|---|---|
| Static RPS | 11,082 | 23,242 | 22,104 | 24,786 |
| .htaccess overhead | -4.2% | -18.8% | -0.7% | -18.1% |
| Memory | 969 MB | 663 MB | 676 MB | 819 MB |
| Compatibility | 100% | 44% | 90%+ | 100% |
| License | Free | Free | Free | Paid |
| Security ACL | Full | Missing | Full | Full |
Check software end-of-life dates at EOL.Wiki.
AI-native open source server control panel: WebCasa.
Lightweight web server with high Apache httpd compatibility: LiteHTTPD.