Assorted Python variables

Variable Value
__file__ /var/www/biocase/stable/www/utilities/printenv.cgi
os.path.dirname( __file__ ) /var/www/biocase/stable/www/utilities
inspect.getfile( lambda:None ) /var/www/biocase/stable/www/utilities/printenv.cgi
os.path.abspath( __file__ ) /var/www/biocase/stable/www/utilities/printenv.cgi
Python Sys Path ['.', '/var/www/biocase/provider_software_3.6.0/lib', '/var/www/biocase/provider_software_3.6.0/www/utilities', '/usr/local/lib/python2.7/dist-packages/twistar-1.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/web.py-0.36-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pyodbc-3.0.7-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/spyne-2.10.9-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pytz-2013b-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/xmlutils-1.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.9.4-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/setuptools-7.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/generateDS-2.14a-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']
os.path.abspath( inspect.getfile( lambda:None ) ) /var/www/biocase/stable/www/utilities/printenv.cgi
biocase.wrapper.functions.getAbsoluteCWDirectory() /var/www/biocase/stable/www/utilities
os.getcwd() /var/www/biocase/provider_software_3.6.0/www/utilities

Webserver Environment

Variable Value
CONTEXT_DOCUMENT_ROOT /var/www/biocase/stable/www
CONTEXT_PREFIX
DOCUMENT_ROOT /var/www/biocase/stable/www
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_HOST biocase.zfmk.de
HTTP_IF_MODIFIED_SINCE Tue, 25 Jul 2017 00:31:50 GMT
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
LD_LIBRARY_PATH /usr/lib/rt/lib/amd64:/usr/lib/rt/lib/amd64/jetvm:
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QUERY_STRING
REMOTE_ADDR 54.162.10.211
REMOTE_PORT 48162
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /utilities/printenv.cgi
SCRIPT_FILENAME /var/www/biocase/stable/www/utilities/printenv.cgi
SCRIPT_NAME /utilities/printenv.cgi
SCRIPT_URI http://biocase.zfmk.de/utilities/printenv.cgi
SCRIPT_URL /utilities/printenv.cgi
SERVER_ADDR 131.220.238.2
SERVER_ADMIN p.grobe@zfmk.de
SERVER_NAME biocase.zfmk.de
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.0
SERVER_SIGNATURE
Apache/2.4.7 (Ubuntu) Server at biocase.zfmk.de Port 80
SERVER_SOFTWARE Apache/2.4.7 (Ubuntu)