Configuration

Configuration Examples

OpenLiteSpeed Configuration Examples You can install OpenLiteSpeed in multiple ways, and each way may associate OLS configuration files in different locations. The purpose of this article is not to cover the various default configurations for different installation methods, but instead to show you some basic…

WebAdmin Console

WebAdmin Console Makes Configuration Super Easy One of OpenLiteSpeed’s advantages over Apache and nginx is a GUI interface called the WebAdmin Console. By default you should be able to access it through https://your-server-ip:7080. Make sure port 7080 is open in your firewall. Of course you…

Running PHP in Detached Mode

What’s PHP Detached Mode? PHP Detached Mode is new in OpenLiteSpeed v1.5.6. In previous versions, all PHP processes were attached to OpenLiteSpeed processes. As such, when OpenLiteSpeed restarted, so would the PHP processes. In PHP Detached Mode, the PHP processes will continue running independently, even when OpenLiteSpeed restarts. When you run in PHP SuEXEC ProcessGroup Mode, PHP process…

Access Control

Apache users can utilize directives in .htaccess to control access to certain directories or files, like so: Order Deny,Allow Deny from all However, OpenLiteSpeed only supports .htaccess for rewrite rules, and not for directives. So, OpenLiteSpeed provides other methods for controlling access. Deny Access to…

reCAPTCHA with OpenLiteSpeed

reCAPTCHA with OpenLiteSpeed As of OpenLiteSpeed 1.5.1, reCAPTCHA is available as a method of defense against DDoS attack. How To Enable at the Server Level Access the WebAdmin console via https://YOUR_SERVER_IP:7080 Navigate to Configuration > Server > Security > LS reCAPTCHA   Set Enable reCAPTCHA to…