context

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…

Setting up CORS on OpenLiteSpeed

Enabling Cross-Origin Resource Sharing Cross-Origin Resource Sharing (CORS) is a specification that enables truly open access across domain boundaries. If you serve public content, please consider using CORS to open it up for universal JavaScript/browser access. CORS introduces a standard mechanism that can be used…

WordPress

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…