                                                                        -*-org-*-
* Supported CGI environment variables

|     | Key                  | RFC | Value                                                                          |
|-----+----------------------+-----+--------------------------------------------------------------------------------|
| [X] | AUTH_TYPE            | YES | Basic supported                                                                |
| [X] | CONTENT_LENGTH       | YES |                                                                                |
| [X] | CONTENT_TYPE         | YES |                                                                                |
| [ ] | DOCUMENT_ROOT        |     | The root directory of your server                                              |
| [X] | GATEWAY_INTERFACE    | YES | "CGI/1.1"                                                                      |
| [ ] | HTTP_ACCEPT          |     |                                                                                |
| [ ] | HTTP_ACCEPT_CHARSET  |     |                                                                                |
| [ ] | HTTP_ACCEPT_ENCODING |     |                                                                                |
| [ ] | HTTP_ACCEPT_LANGUAGE |     |                                                                                |
| [X] | HTTP_AUTHORIZATION   |     | Workaround for Apache & php5-cgi, see AUTH_TYPE                                |
| [ ] | HTTP_CONNECTION      |     |                                                                                |
| [ ] | HTTP_COOKIE          |     | The visitor's cookie, if one is set                                            |
| [X] | HTTP_HOST            |     | The hostname of the page being attempted                                       |
| [ ] | HTTP_KEEP_ALIVE      |     |                                                                                |
| [X] | HTTP_REFERER         |     | The URL of the page that called your program                                   |
| [X] | HTTP_USER_AGENT      |     | The browser type of the visitor                                                |
| [ ] | HTTPS                |     | "on" if the program is being called through a secure server                    |
| [ ] | PATH                 |     | The system path your server is running under                                   |
| [X] | PATH_INFO            | YES |                                                                                |
| [X] | PATH_TRANSLATED      | YES |                                                                                |
| [X] | QUERY_STRING         | YES | The query string (see GET, below)                                              |
| [X] | REDIRECT_STATUS      |     | Non-standard environment varialbe used by PHP                                  |
| [X] | REMOTE_ADDR          | YES | The IP address of the visitor                                                  |
| [X] | REMOTE_HOST          | YES | The hostname of the visitor[fn:1]                                              |
| [ ] | REMOTE_IDENT         | MAY | May be used to provide RFC 1413 connection identity information                |
| [ ] | REMOTE_PORT          |     | The port from which the request was sent                                       |
| [X] | REMOTE_USER          | YES | The visitor's username (for .htaccess-protected pages)                         |
| [X] | REQUEST_METHOD       | YES | GET or POST                                                                    |
| [X] | REQUEST_URI          |     | Interpreted pathname of requested document/CGI (relative to the document root) |
| [X] | SCRIPT_FILENAME      |     | Full pathname of the current CGI, used by PHP                                  |
| [X] | SCRIPT_NAME          | YES | Interpreted pathname of the current CGI (relative to the document root)        |
| [ ] | SERVER_ADDR          |     | Server IP address                                                              |
| [ ] | SERVER_ADMIN         |     | The email address for your server's webmaster                                  |
| [X] | SERVER_NAME          | YES | Your server's fully qualified domain name (e.g. www.cgi101.com)                |
| [X] | SERVER_PORT          | YES | The port number your server is listening on                                    |
| [X] | SERVER_PROTOCOL      | YES | "HTTP/1.1"                                                                     |
| [ ] | SERVER_SIGNATURE     |     |                                                                                |
| [X] | SERVER_SOFTWARE      | YES | The server software you're using, e.g. "Apache/1.3 (Win32)"                    |

The RFC column refers to mandatory CGI environment variables, as defined
in <https://tools.ietf.org/html/rfc3875>.

----
[fn:1] If your server has reverse-name-lookups on; otherwise this is the IP address again.
