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…
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:…
By default, all virtual hosts use the server-level external applications and script handlers. You can, however, set up virtual host-specific PHP settings by creating virtual host-level external applications and script handlers that link to custom-built PHP executables. This will allow you to set up…