Setting up OCSP Stapling with OpenLiteSpeed This article explains how to set up OCSP stapling. OCSP stapling speeds up the SSL verification process by attaching a pre-approved certificate to the SSL handshake response. This streamlines the process and removes burdens from the client and SSL…
Setting up LSCache for WordPress on OpenLiteSpeed This guide will take you through the steps to configure OpenLiteSpeed’s cache module, install and activate the LSCache for WordPress plugin, and modify a virtual host to use a .htaccess file for your WordPress installation. Pre-Installation Requirements OpenLiteSpeed Web…
Setting up CGI on OpenLiteSpeed OpenLiteSpeed supports CGI through virtual host-level CGI contexts. A CGI context specifies a directory containing only CGI scripts. All files in this context will be considered CGI scripts and, when accessed, will be run using CGI. To run CGI, you…
IP-Based Virtual Hosting on OpenLiteSpeed In all versions of LiteSpeed Web Server, including OpenLiteSpeed, there is very little difference between IP- and name-based virtual hosting. IP-based virtual hosting is the same as name-based virtual hosting, except that each virtual host has its own IP address. IP-based…
Name-Based Virtual Hosting on OpenLiteSpeed Name-based virtual hosting assigns virtual hosts based on domain names, not IP addresses. With name-based virtual hosting, you can host more than one website (virtual host) on each IP address. Use the following guidelines to set up name-based virtual hosting:…
Rewrite rule difference in .htaccess vs rewrite tab vs context rewrite rules For rewrite rules, OpenLiteSpeed uses the same syntax as Apache’s mod_rewrite so both servers can follow the same rules. However, why rewrite rules may be different in .htaccess than writing to rewrite tab…
This administration guide lays down the basic commands for those who wish to control OpenLiteSpeed from the command line. By default, OpenLiteSpeed is installed under /usr/local/lsws/. Control Commands Start OpenLiteSpeed: systemctl start lsws Stop OpenLiteSpeed: systemctl stop lsws Gracefully restart OpenLiteSpeed (zero downtime): systemctl restart lsws Show OpenLiteSpeed…
CentOS Installation Follow these steps for RockyLinux, AlmaLinux and CentOS 6, 7, 8, 9 systems. Add the Repository Use the following commands to add our CentOS/AlmaLinux/RockyLinux repositories: sudo wget -O – https://repo.litespeed.sh | sudo bash You can also specify the repo manually for different OS…