Introduction In a previous article, we explained how to use OpenLiteSpeed as reverse proxy. In that case the request URI needed to be the same in the frontend as the backend, otherwise a 404 Not Found Error would be returned. In this guide we will…
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…
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…
Install: Quick Install Mediawiki on Openlitespeed After you install OpenLiteSpeed, follow the instructions below to get your Mediawiki site working. Install PHP modules MariaDB Installation Create MediawikiDB Account Set Index File and rewrite rules Download and Extract Mediawiki Run the Mediawiki install script Install PHP…
Setting up OpenLiteSpeed as a reverse proxy OpenLiteSpeed can be set up as a transparent reverse proxy to any backend web server or application server that supports HTTP. OpenLiteSpeed proxies to other servers by setting them as external applications. Once you have set up your…
Install: Quick Install Magento 2 After you install OpenLiteSpeed, follow the instructions below to get your Magento 2 site working. Install PHP modules MariaDB Installation Create MagentoDB Account Create a Magento User Download and Extract Magento Create a Virtual Host for Magento Run the Magento…
Install: Quick Install Drupal 8 After you install OpenLiteSpeed, follow the instructions below to get your Drupal 8 site working. Install PHP modules MariaDB Installation Create DrupalDB Account Set Index File and rewrite rules Download and Extract Drupal Run the Drupal install script Install PHP…
Setting Up GeoLocation on OpenLiteSpeed Enabling GeoLocation Geolocation enables developers to enhance the user experience. Content and advertising may be customized for a specific user’s country, showing pages more relevant to the location of the user. Admins can further enhance a site’s security by blocking…
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…
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…