Script Handler
LiteSpeed web server supports scripting language like Perl, PHP and Java Server Pages.
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) for that type of script language.
Currently CGI, Fast CGI, Web Server and Servlet Engine can be used as script handler. Fast CGI, Web Server and Servlet Engine must be predefined in External Applications section. You can set up script handler at server level as well as at 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 overriden in virtual host level. Virtual host level script handler definition is only applied to 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, "." is prohibited
Apply: On the fly with reload.
Tips: [Performance & Security] Only specifies the suffixes really needed.
TypeGo to top
Description: Specifies the type of external application that processes these script files, which can be CGI, Fast CGI, Web Server or Servlet Engine. For Fast CGI, Web Server and Servlet Engine, the handler name need to be specified, which is the external application name predefined in External Applications section.
Syntax: Select from drop down list
Apply: On the fly with reload.
Handler NameGo to top
Description: Specifies the name of the external application that processes the script files when the handler type is Fast CGI, Web Server or Servlet Engine.
Syntax: Select from drop down list
Apply: On the fly with reload.