BACK
MCGI
„Modified Commen Gateway Interface”

MCGI is only a slight modification of the original CGI/1.1 specification. Therefor I'll just sum up the changes.

The main difference is how a specified path is handled. While a cgi script is specified by the first name following the cgi-marker and the rest of an eventually path like extension is just passed on in the two PATH_ variables, MCGI uses the whole path to specify the scripts location relative to the cgi-directorty. Script calls that contain path-parts that may help to circumvect this limitation are rejected.

MCGI changed Environment Variables
  • PATH_INFO
    contains the complete relative path of the script, including the script name.
  • PATH_TRANSLATED
    does not exist
  • QUERY_STRING
    will be empty if the query was in fact an argument list

BACK