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…
Enabling GeoLocation Geolocation enables developers to enhance the user experience. Content and advertising may be customized for a specific user’s country, showing pages more relevant to the location of the user. Admins can further enhance a site’s security by blocking a client based on country. …
Use OpenLiteSpeed as Load Balancer This wiki will show you how to set up OpenLiteSpeed as a load balancer. This example uses three servers: backend1.litespeedtech.com backend2.litespeedtech.com balancer.litespeedtech.com backend1 and backend2 will act as back-end nodes, and balancer will act as a front-end load balancer. Verify Two Back-End Nodes are Working…
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 Custom Headers Case: Browser Cache In some circumstances, 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…
Setting Up GeoLocation on OpenLiteSpeed Enabling GeoLocation Geolocation enables developers to enhance the user experience. Content and advertising may be customized for a specific user’s country, showing pages more relevant to the location of the user. Admins can further enhance a site’s security by blocking…
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 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…