You need to specify the full path with the binary file: /usr/local/lsws/fcgi-bin/lswsgi It tells which binary to execute so as to launch the processes. The important thing you need to specify is for the option ‘Command’. WebAdmin console » Configuration » External App and click Add. Go to the External App tab from the console. Since 2.0, LiteSpeed Web Server has supported seven types of external applications: CGI, FastCGI, web server, servlet engine, LiteSpeed SAPI application, load balancer, and piped logger. Now we need to set up an external application and script handler.Įxternal App : LiteSpeed web server can forward requests to external applications to process and generate dynamic content. Select ‘LiteSpeed Web Server‘ under PluginsĬlick on the ‘LiteSpeed Configuration’ and then ‘WebAdmin Console’Įnter your LiteSpeed admin username and password.
It’s a centralized control panel to control and configure all LiteSpeed Web Server settings.
Mv lswsgi /usr/local/lsws/fcgi-bin/ (this directory contains all the LSAPI binaries)įirst we’ll see how to get into the LiteSpeed control panel (WebAdmin Console). Tar -xvf wsgi-lsapi-1.0.tgz cd wsgi-lsapi-1.0/
Requirement : LiteSpeed Version greater than 4.2.4 We’re going to see how to enable python application on LiteSpeed Web Server assuming python is already installed and it’s working fine. As for python scripts, it’s required to be manually enable python done. LiteSpeed should process PHP files when we install LiteSpeed as all the configuration settings are present by default.