Script Handler
LiteSpeed web server supports all scripting languages including Perl, PHP, Ruby, Python, Java Server Pages, etc.
A script file is determined by the suffix of the file name. When a request refers to a script file, the web server will call the corresponding handler, external application bound to that specific suffix.
Currently CGI, FastCGI, Web Server, LSAPI app, load balancer and Servlet Engine can be used as a script handler. FastCGI, Web Server, LSAPI app, load balancer and Servlet Engine must be predefined in External Application section. You can set up script handler at server or virtual host level. Server level script handler definition can only refer to external application defined at server level, and the definition is applied to all virtual hosts unless it is overridden in virtual host level. Virtual host level script handler definition is only applicable within that virtual host.
 
Table of Contents
Script Handler Settings Suffix   Type   Handler Name   
 
SuffixGo to top
Description: Specifies the suffixes of script files. Suffix must be unique.
Syntax: Comma separated list with period "." character prohibited
Tips: [Performance & Security] Only specifies the suffixes you really needed.
TypeGo to top
Description: Specifies the type of external application that processes these script files which can be CGI, FastCGI, Web Server, LSAPI app, Load balancer or Servlet Engine. For FastCGI, Web Server and Servlet Engine, the handler name need to be specified which is the external application name predefined in External Application section.
Syntax: Select from drop down list
Handler NameGo to top
Description: Specifies the name of the external application that processes the script files when the handler type is FastCGI, Web Server, LSAPI, Load Balancer or Servlet Engine.
Syntax: Select from drop down list