Scripting

IceWarp Server supports Server Side Scripting engines such as PHP and Perl. It can support these engines via the ISAPI interface (default), FastCGI interface, or CGI interface.

Here you can specify which modules or executables should be used to process file types that the browser may not automatically understand, e.g. PHP files:

Figure. Scripting tab.

Button

Description

Add

Click the Add button to link a file extension with its process application. The Scripting dialog opens.

Edit

Select a scripting record and click the button to edit settings of this scripting. The Scripting dialog opens.

Delete

Select a scripting and click the button to delete this scripting.

Figure. Scripting dialog.

Field

Description

Extension

Specify the file extension (with the dot).

Application

Specify the full path to the application that will process the files.

To use the ISAPI interface you just need to specify the path to the dll file, e. g. \temp\libisapi.dll

To use the CGI interface specify the CGI executable, e. g. \bin\myCGI.exe

To use the FastCGI interface specify the address and port of the FastCGI server, e. g. localhost:5000

In addition, if you want to specify the interface to use you should add it as a prefix in brackets to the application path, e. g. (cgi)\bin\mycgi.exe