Skip to content

Instantly share code, notes, and snippets.

@linickx
Created July 26, 2011 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linickx/1107884 to your computer and use it in GitHub Desktop.
Save linickx/1107884 to your computer and use it in GitHub Desktop.
OpenSift $_SERVER Variables
Array
(
[HTTP_HOST] => secretkey-linickx.rhcloud.com
[HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; Intel Mac OS X ) AppleWebKit/ (KHTML, like Gecko) Chrome/ Safari/
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => gzip,deflate,sdch
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.3
[HTTP_X_FORWARDED_FOR] => x
[HTTP_X_FORWARDED_HOST] => secretkey-linickx.rhcloud.com
[HTTP_X_FORWARDED_SERVER] => secretkey-linickx.rhcloud.com
[PATH] => /sbin:/usr/sbin:/bin:/usr/bin
[SERVER_SIGNATURE] => <address>Apache/2.2.15 (Red Hat) Server at secretkey-linickx.rhcloud.com Port 80</address>
[SERVER_SOFTWARE] => Apache/2.2.15 (Red Hat)
[SERVER_NAME] => secretkey-linickx.rhcloud.com
[SERVER_ADDR] => 127.1.24.129
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.1.24.129
[DOCUMENT_ROOT] => /var/lib/libra/x/secretkey/repo/php
[SERVER_ADMIN] => root@localhost
[SCRIPT_FILENAME] => /var/lib/libra/x/secretkey/repo/php/index.php
[REMOTE_PORT] => 46698
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /
[SCRIPT_NAME] => /index.php
[PHP_SELF] => /index.php
[REQUEST_TIME] => 1311709494
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment