Abyss Web Server For Linux User's Guide
Prev | Chapter 6. CGI, FastCGI, and ISAPI | Next

# How are they run?

When the server is asked for a document, it first checks if it is a script. Scripts must belong to one of the script paths or their subpaths, or must match with one of the path patterns listed in the Script Paths table.

Abyss Web Server is able to run standalone CGI or FastCGI executable files (files which executable attribute is set using the command `chmod +x <File>`; see chmod reference in your system's manual). For other kinds of scripts, the server tries to find the suitable interpreter to run them by checking the Interpreters table and matching the script's extension with a declared interpreter.

Abyss Web Server can also run standalone ISAPI extensions. The Script Paths table must contain explicitly the virtual path of a module or a matching pattern to have it executed. A file is considered as being an ISAPI module if its file name extension matches one of the declared ISAPI file name extensions.

Abyss Web Server automatically detects NPH (Non Parsed Headers) scripts. NPH scripts output is sent directly to the browser without prior header decoding by the server. It is up to NPH scripts to generate correctly all the necessary HTTP response headers. Abyss Web Server considers a script to be NPH if the first line it outputs starts with the string `HTTP/`.

Prev | Home | Next
CGI, FastCGI, and ISAPI | Up | CGI environment variables

Copyright © 2001-2013 Aprelium