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…
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.
Since v1.4.38, OpenLiteSpeed supports the ability to autoload .htaccess from directories and subdirectories automatically.
OpenLiteSpeed allows you to change PHP Settings by Vhost and User, if the global settings are inappropriate.
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.
You can create a custom error page and set up OpenLiteSpeed to display it for visitors who encounter errors (such as 404). This is how. Create Custom Error Page Create a custom error page and visit the URL to make sure it works. Configure OpenLiteSpeed…
CGroups in OpenLiteSpeed If you are a web server administrator and your users are creating CGI services that are chewing up your server’s CPU, memory, or tasks, you have a powerful tool to deal with it in OpenLiteSpeed: CGroups. “Cgroup” is short for “control group”.…
Running Ruby Apps with LSAPI In order to maximize the performance of a Rails application, we (LiteSpeed Technologies) developed our own Ruby interface module using our LiteSpeed APIprotocol, also known as LSAPI. LSAPI is a highly optimized IPC protocol between OpenLiteSpeed web server and a standalone process…