Configuration

Using Rewrite Rules

AutoLoad .htaccess With OpenLiteSpeed, you can load .htaccess from directories and subdirectories automatically, with directives given at the server level, virtual host level, or context level. Server Level In the OLS WebAdmin Console, navigate to Server Configuration > General > Rewrite Control and set Auto Load…

Using Gzip/Brotli Compression

The Master Switch OpenLiteSpeed’s default Gzip and Brotli Compression settings should be appropriate for most situations. The server level Enable Compression setting is a master switch, and is enabled by default. If you set it to No, it will disable compression server-wide, overriding all virtual-host-level…

Authentication Through Realms

User Authentication by Site or Subdirectory Authentication is the process of confirming a user’s identity, and it provides a way to ensure that only legitimate users create content on your site. Authentication is set up through OpenLiteSpeed’s WebAdmin Console and may be applied to the…

Bubblewrap in OpenLiteSpeed

What is bubblewrap Bubblewrap is a lightweight sandbox application developed from Flatpak with a small installation footprint and minimal resource requirements. See their wiki for details. It has been integrated into OpenLiteSpeed. Installing bubblewrap You must install bubblewrap first to use it with OpenLiteSpeed. NOTE:…

UploadProgress Module not Enabled

You can test the file upload function using the OpenLiteSpeed default example installation test page at http://yourip:8088, where you may encounter an ERROR — uploadProgress module not enabled? error, like this: uploadprogress is an OLS module which is included in /usr/local/lsws/modules/uploadprogress.so, but it needs to…