LiteSpeed Web Server supports all scripting languages including Perl, PHP, Ruby, Python, Java, etc. Scripts written in these different languages must be brought to the appropriate external application to be processed. LiteSpeed Web Server uses script handlers to decide which external application a script should go to. These script handlers map files to external applications by using the file suffix. (Actually, the suffix is used to determine a MIME type which is then mapped to the external application.) External applications must be set up in the {PAGE= ExtApp_Help} tab before they can be selected for use in a script handler. You can set up script handler at the server or virtual host level. Server-level script handlers apply to all virtual hosts unless overridden in virtual host level. Virtual host-level script handlers only apply within that virtual host.
Description Specifies the script file suffixes that will be handled by this script handler. Suffixes must be unique. |
Syntax Comma delimited list with period "." character prohibited. |
Tips The server will automatically add a special MIME type ("application/x-httpd-[suffix]") for the first suffix in the list. For example, MIME type "application/x-httpd-php53" will be added for suffix "php53". Suffixes after the first need to set up in the MIME设置 settings. |
Description 指定处理这些脚本文件的外部程序类型。 可用类型有:CGI, FastCGI, Web服务器, LSAPI应用程序, 负载均衡器, 或 Servlet引擎。 对于FastCGI, Web服务器和Servlet引擎,需要指定处理器名称。 这是在External Application部分预设定的外部程序名称。 |
Syntax 选项 |