Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:other-ext-apps:setup [2018/02/27 20:11]
Jackson Zhang [Script and context handlers]
litespeed_wiki:other-ext-apps:setup [2018/09/18 19:48] (current)
Michael Alegre [Choose an SAPI]
Line 11: Line 11:
  
 External Application types are differentiated by the service they provide or the protocol they use to communicate with the server. Choose from External Application types are differentiated by the service they provide or the protocol they use to communicate with the server. Choose from
-  * FastCGI: a FastCGI application with a Responder role.+  * FastCGI: a FastCGI application with a Responder role. (Perl)
   * FastCGI Authorizer: a FastCGI application with an Authorizer role   * FastCGI Authorizer: a FastCGI application with an Authorizer role
-  * Servlet Engine: a servlet engine with an AJPv13 connector, such as Tomcat.+  * Servlet Engine: a servlet engine with an AJPv13 connector, such as Tomcat. ​(Java)
   * Web Server: a web server or application server that supports HTTP protocol.   * Web Server: a web server or application server that supports HTTP protocol.
-  * LiteSpeed SAPI App: an application that communicates with the web server using LSAPI protocol.+  * LiteSpeed SAPI App: an application that communicates with the web server using LSAPI protocol. ​(PHP, Ruby, and Python)
   * Load Balancer: a virtual application that can balance load among worker applications.   * Load Balancer: a virtual application that can balance load among worker applications.
   * Piped Logger: an application that can process access log entries received on its STDIN stream.   * Piped Logger: an application that can process access log entries received on its STDIN stream.
Line 22: Line 22:
  
 Tip(s): Tip(s):
-Most applications will use either LSAPI or FastCGI protocol. ​LSAPI supports PHP, Ruby, and Python. Perl can be used with FastCGI. (PHP, Ruby, and Python can also be set up to run using FastCGI, but they run faster using LSAPI.) Java uses servlet engines.+Most applications will use either LSAPI or FastCGI protocol. PHP, Ruby, and Python can also be set up to run using FastCGI, but they run faster using LSAPI.
 ===== Choose an SAPI ===== ===== Choose an SAPI =====
  
  
-The first thing you will set is the interface by which the server communicates with the external application. LiteSpeed Web Server works with a number of protocols — FastCGI, Servlet Engine, HTTP, etc. — but it runs fastest when external applications are built for LiteSpeed Server API (LSAPI). LSAPI has currently been developed for PHP, Ruby, and Python. Perl applications can be run with FastCGI. ​(PHP, Ruby, and Python can also be built for fCGI, though they are faster when used with LSAPI.) ​Java is run using AJPv13 (and you will have to install a separate servlet engine, such as Apache Tomcat, to run the application).+The first thing you will set is the interface by which the server communicates with the external application. LiteSpeed Web Server works with a number of protocols — FastCGI, Servlet Engine, HTTP, etc. — but it runs fastest when external applications are built for LiteSpeed Server API (LSAPI). LSAPI has currently been developed for PHP, Ruby, and Python. Perl applications can be run with FastCGI. Java is run using AJPv13 (and you will have to install a separate servlet engine, such as Apache Tomcat, to run the application).
  
 ===== External apps can be started by web server or manually ===== ===== External apps can be started by web server or manually =====
  • Admin
  • Last modified: 2018/02/27 20:11
  • by Jackson Zhang