Assorted Python variables

Variable Value
__file__ /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities/printenv.cgi
os.path.dirname( __file__ ) /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities
inspect.getfile( lambda:None ) /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities/printenv.cgi
os.path.abspath( __file__ ) /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities/printenv.cgi
Python Sys Path ['.', '/srv/wwwroot/biocase/provider_software_3.6.4/lib', '/srv/wwwroot/biocase/provider_software_3.6.4/www/utilities', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages']
os.path.abspath( inspect.getfile( lambda:None ) ) /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities/printenv.cgi
biocase.wrapper.functions.getAbsoluteCWDirectory() /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities
os.getcwd() /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities

Webserver Environment

Variable Value
CONTEXT_DOCUMENT_ROOT /srv/wwwroot/biocase/provider_software_3.6.4/www
CONTEXT_PREFIX
DOCUMENT_ROOT /srv/wwwroot/biocase/provider_software_3.6.4/www
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION Keep-Alive
HTTP_HOST biocase.kew.org
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_FOR_PORT 57314
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QUERY_STRING
REMOTE_ADDR 3.234.245.125
REMOTE_PORT 5394
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /utilities/printenv.cgi
SCRIPT_FILENAME /srv/wwwroot/biocase/provider_software_3.6.4/www/utilities/printenv.cgi
SCRIPT_NAME /utilities/printenv.cgi
SERVER_ADDR 10.9.1.53
SERVER_ADMIN hostmaster@kew.org
SERVER_NAME biocase.kew.org
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.6 (CentOS) PHP/5.4.16 mod_jk/1.2.41
UNIQUE_ID XlJSNNpgefK2o4JFjwamfwAAABM