Assorted Python variables

Variable Value
os.getcwd() /opt/biocase/www/utilities
__file__ /opt/biocase/www/utilities/printenv.cgi
os.path.dirname( __file__ ) /opt/biocase/www/utilities
os.path.abspath( __file__ ) /opt/biocase/www/utilities/printenv.cgi
inspect.getfile( lambda:None ) /opt/biocase/www/utilities/printenv.cgi
os.path.abspath( inspect.getfile( lambda:None ) ) /opt/biocase/www/utilities/printenv.cgi
Python Sys Path ['.', '/opt/biocase/lib', '/opt/biocase/www/utilities', '/usr/local/lib/python39.zip', '/usr/local/lib/python3.9', '/usr/local/lib/python3.9/lib-dynload', '/usr/local/lib/python3.9/site-packages']
biocase.wrapper.functions.getAbsoluteCWDirectory() /opt/biocase/www/utilities

Webserver Environment

Variable Value
CONTEXT_DOCUMENT_ROOT /opt/biocase/www
CONTEXT_PREFIX
DOCUMENT_ROOT /opt/biocase/www
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_CACHE_CONTROL public
HTTP_CUSTOMFRAMEOPTIONSVALUE SAMEORIGIN
HTTP_HOST biocase.smns-bw.org
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR 52.15.37.74
HTTP_X_FORWARDED_HOST biocase.smns-bw.org
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_SERVER 97f2cea543da
HTTP_X_REAL_IP 52.15.37.74
LC_CTYPE C.UTF-8
PATH /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QUERY_STRING
REMOTE_ADDR 172.31.0.24
REMOTE_PORT 33120
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /utilities/printenv.cgi
SCRIPT_FILENAME /opt/biocase/www/utilities/printenv.cgi
SCRIPT_NAME /utilities/printenv.cgi
SERVER_ADDR 172.31.0.17
SERVER_ADMIN webmaster@localhost
SERVER_NAME biocase.smns-bw.org
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
Apache/2.4.61 (Debian) Server at biocase.smns-bw.org Port 80
SERVER_SOFTWARE Apache/2.4.61 (Debian)