CGI Variables Reference
These are all of the default CGI variables created by Lucee. Your server may have additional variable set, for example x-forwarded-for, if set, would be a CGI variable
| Variable | Example | Description |
|---|---|---|
| auth_password | ||
| auth_type | ||
| auth_user | ||
| cert_cookie | ||
| cert_flags | ||
| cert_issuer | ||
| cert_keysize | ||
| cert_secretkeysize | ||
| cert_serialnumber | ||
| cert_server_issuer | ||
| cert_server_subject | ||
| cert_subject | ||
| cf_template_path | C:\websites\luceebook\index.cfm | |
| content_length | ||
| content_type | ||
| gateway_interface | ||
| http_accept | text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 | |
| http_accept_encoding | gzip, deflate, sdch | |
| http_accept_language | en-US,en;q=0.8 | |
| http_connection | keep-alive | |
| http_cookie | LUCEE_ADMIN_LANG=en; cfid=9913b132-e7f0-4d7c-bf1f-511abcbeb435; cftoken=0; JSESSIONID=IuBLTXIM0uvWV-f_TiZRLAAquknA6kRQMKB8t-mm; LUCEE_ADMIN_LASTPAGE=server.scope | |
| http_host | 127.0.0.1:63128 | |
| http_user_agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 | |
| http_referer | http://127.0.0.1:63128/ | |
| https | ||
| https_keysize | ||
| https_secretkeysize | ||
| https_server_issuer | ||
| https_server_subject | ||
| path_info | ||
| path_translated | C:\websites\luceebook\index.cfm | |
| query_string | ||
| remote_addr | 127.0.0.1 | |
| remote_host | 127.0.0.1 | |
| remote_user | ||
| request_method | GET | |
| request_url | http://127.0.0.1:63128/index.cfm | |
| script_name | /index.cfm | |
| server_name | 127.0.0.1 | |
| server_port | 63128 | |
| server_port_secure | 0 | |
| server_protocol | HTTP/1.1 | |
| server_software | ||
| web_server_api | ||
| context_path | ||
| local_addr | 10.0.0.15 | |
| local_host | DESKTOP | |
| 0:2 | 1:2 | 2:2 |