OpenLiteSpeed includes a built-in Per-Client Throttling feature which allows you to block bad IPs. Navigate to Configuration > Server > Security configurations > Per Client Throttling to find several configuration settings that you can use to limit the request, bandwidth, and connection rate per remote…
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 Enable reCAPTCHA: The master switch.…
Setting Up Custom Headers In some circumstance a user may need to set up a custom header, such as a Cache-Control header or an Expire header. In this guide, we will set up custom headers over a JavaScript and CSS file, as an example. Step…
PHP is fully supported by OpenLiteSpeed out of box. No additional configuration is required. However the default binary installed(/usr/local/lsws/fcgi-bin/lsphp) is a minimum build for testing use and can not be used for real applications. This article is not intended to provide instruction on how…
Compiling PHP is not recommended way to setup your openlitespeed web server and most of the users don’t need to compile PHP at all. You should install LSPHPs through either LiteSpeed or remi repository. In some very rare situation, a user may need to…