Standard CGI Environment VariablesCGI Environment VariablesReference Tables:CGI Environment Variables
CGI Environment Variables are typically passed to an executable or script that can act on these variables if needed. However, with WebX, they can also be used as in-line automation tags.
Variable | Description |
AUTH_TYPECGI Environment Variables:AUTH_TYPE | Returns the type of authentication used to access the page. A blank screen signifies that no log was used. Basic means that basic clear text was used. |
CONTENT_LENGTHCGI Environment Variables:CONTENT_LENGTH | Specifies the number of bytes that will be received from the client. |
CONTENT_TYPECGI Environment Variables:CONTENT_TYPE | Specifies the type of content (MIME) that will be sent using the POST method. |
GATEWAY_INTERFACECGI Environment Variables:GATEWAY_INTERFACE | Version of the Gateway Interface that is being used. The Current version is CGI/1.1. |
HTTP_ACCEPTCGI Environment Variables:HTTP_ACCEPT | Returns a string listing the Accept fields (MIME) in the HTTP header. |
HTTP_REFERERCGI Environment Variables:HTTP_REFERER | |
HTTP_USER_AGENTCGI Environment Variables:HTTP_USER_AGENT | |
PATH_INFOCGI Environment Variables:PATH_INFO | Returns the path from the client. |
PATH_TRANSLATEDCGI Environment Variables:PATH_TRANSLATED | The virtual path translated from PATH INFO. |
QUERY_STRINGCGI Environment Variables:QUERY_STRING | Parameters that are passed by the client. A ? Signifies the beginning of the QUERY STRING. |
REMOTE_ADDRCGI Environment Variables:REMOTE_ADDR | The IP address of the client. |
REMOTE_HOSTCGI Environment Variables:REMOTE_HOST | The host name of the client. Warning: This tag may significantly slow down page processing because of the required DNS lookup. |
REMOTE_USERCGI Environment Variables:REMOTE_USER | Returns the Username supplied by the client. This is also the username that the server will use if authentication was used. |
REQUEST_METHODCGI Environment Variables:REQUEST_METHOD | The HTTP request method. Currently, WebX supports GET and POST. |
SCRIPT_NAMECGI Environment Variables:SCRIPT_NAME | The name of the executable (or script) to run. For example, for http://www.mydomain.com/products/prod_list.exe?Type=DVD, the SCRIPT_NAMECGI Environment Variables:SCRIPT_NAME = prod_list.exe. |
SERVER_NAMECGI Environment Variables:SERVER_NAME | The server’s IP address or hostname that is used in self-referring addresses. |
SERVER_PORTCGI Environment Variables:SERVER_PORT | The IP port number the server is listening on. Normally 80 for web servers, but can set to other non-standard values. http://www.mydomain.com:3333 will connect to a web server at port 3333 instead of the default of 80. |
SERVER_PROTOCOLCGI Environment Variables:SERVER_PROTOCOL | Name and version of the protocol used for the client request. WebX currently supports HTTP/1.0. |
SERVER_SOFTWARECGI Environment Variables:SERVER_SOFTWARE | The name and version of the web server. WebX sets this variable to Future Wave Tech WebX/1.0", but this value can be changed to personalize your application. |
Table 4.2.1 – CGI Environnement Variables
CGI Environment Variables ExtensionsReference Tables:CGI Environment Variables Extensions