Customizing Log Format in OpenLiteSpeed is possible, and something you may wish to do during the troubleshooting process. For example, you may want to use NCSA Combined Log Format and then use the apachetop command for further log analysis. Here’s how. You can set Log…
At times, applications may require the creation of an internal server environment variable, such as you might set up with the SetEnv directive in Apache. You can set up server environment variables in OpenLiteSpeed, too. Server Side Setup Log in to the WebAdmin Console, navigate…
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 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…
Node.js Apps with OpenLiteSpeed Node.js is a platform that generally runs as a separate web server. OpenLiteSpeed Web Server can be configured to proxy traffic to Node.js so that users can run Node.js applications (like Ghost) on their sites. This wiki will go over how…
Python WSGI Apps with LSAPI LiteSpeed SAPI is the easiest and fastest way to run web applications with OpenLiteSpeed Web Server. OpenLiteSpeed supports LSAPI for Python applications through WSGI. WSGI (Web Server Gateway Interface) is a low-level interface between web servers and web applications. It…