LSCache, similar to Varnish cache, is a simpler and more efficient page caching solution built-in to LiteSpeed Web Server. When used in conjunction with Craft CMS, you can expect significant performance gains with a quick and easy setup. Additionally, rewrite rules can be used to…
WordFence requires auto_prepend_file in order to work correctly, as it allows the Wordfence WAF to load before WordPress, rather than afterward. By default, the following directive in .htaccess is used to load WordFence, but this directive does not work in OpenLiteSpeed. php_value auto_prepend_file ‘/home/example.com/public_html/wordfence-waf.php’ Luckily,…
Besides configuring PHP by virtual host, OLS also has ability to set up PHP by directory. This means that you can have different directories running different PHP versions to further customize your server environment.
Introduction There is a way to get the benefit of LiteSpeed Cache in your current existing server stack with minimal modification. Let’s use a simple WordPress site on Apache as an example. Install OpenLiteSpeed Once WP is installed and running on Apache, install OpenLiteSpeed. Set…
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…
Learn how to enable CageFS for OpenLiteSpeed from the WebAdmin Console in two easy steps. Also learn how to verify that CageFS is working.
Setting up Redmine on OpenLiteSpeed Setting up Redmine Requirements Installing Ruby & Dependencies Dependencies Ruby Ruby Gems Configuring OpenLiteSpeed Creating a Virtual Host Set the Document Root Setup the App Server Setup the Virtual Host Directory Create the Virtual Host Directory Installing Redmine Download, Extract,…
Enable LiteSpeed Cache Module Before using any rewrite rules to enable cache in .htaccess, you will need to register/configurate cache module and setup cache root. Please refer this article to learn how to enable LiteSpeed Cache module if you have not done so. Using Rewrite Rules…
Pre-Installation Requirements OpenLiteSpeed Web Server 1.4.19+ installed Joomla installed Virtual Host set up Listener set up Cache set up Install LiteSpeed Cache for Joomla on OpenLiteSpeed Access the Joomla administration panel and login with your username and password. Download com_lscache and lscache_plugin. These are the…