Set up Websocket Proxy In this article we will explain how to set up a WebSocket proxy to a WebSocket backend. With a WebSocket proxy, OpenLiteSpeed will forward traffic with the WebSocket upgrade request to the WebSocket backend specified in the WebSocket proxy. Traffic without…
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…
Set up WebSocket Proxies on OpenLiteSpeed In this article we will explain how to set up a WebSocket proxy to a WebSocket backend. With a WebSocket proxy, OpenLiteSpeed will forward traffic with the WebSocket upgrade request to the WebSocket backend specified in the WebSocket proxy.…
Setting up OCSP Stapling with OpenLiteSpeed This article explains how to set up OCSP stapling. OCSP stapling speeds up the SSL verification process by attaching a pre-approved certificate to the SSL handshake response. This streamlines the process and removes burdens from the client and SSL…
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…
Setting up CGI on OpenLiteSpeed OpenLiteSpeed supports CGI through virtual host-level CGI contexts. A CGI context specifies a directory containing only CGI scripts. All files in this context will be considered CGI scripts and, when accessed, will be run using CGI. To run CGI, you…
Get a Certificate To set up SSL, please prepare a private key and certificate from a certificate issuer like Let’s Encrypt. You can follow one of these guides, if necessary: public certificate via Let’s Encrypt, or private self-signed certificate. You can set up SSL at…
IP-Based Virtual Hosting on OpenLiteSpeed In all versions of LiteSpeed Web Server, including OpenLiteSpeed, there is very little difference between IP- and name-based virtual hosting. IP-based virtual hosting is the same as name-based virtual hosting, except that each virtual host has its own IP address. IP-based…
Name-Based Virtual Hosting on OpenLiteSpeed Name-based virtual hosting assigns virtual hosts based on domain names, not IP addresses. With name-based virtual hosting, you can host more than one website (virtual host) on each IP address. Use the following guidelines to set up name-based virtual hosting:…
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…