Assorted Python variables

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

Webserver Environment

Variable Value
CONTEXT_DOCUMENT_ROOT /biocase/www
CONTEXT_PREFIX /wrapper
DOCUMENT_ROOT /var/www/html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_CONNECTION Keep-Alive
HTTP_HOST biocase.snsb.info
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR 18.227.52.248
HTTP_X_FORWARDED_HOST biocase.snsb.info
HTTP_X_FORWARDED_SERVER biocase.snsb.info
LC_CTYPE C.UTF-8
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QUERY_STRING
REMOTE_ADDR 192.168.65.182
REMOTE_PORT 57750
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /wrapper/utilities/printenv.cgi
SCRIPT_FILENAME /biocase/www/utilities/printenv.cgi
SCRIPT_NAME /wrapper/utilities/printenv.cgi
SERVER_ADDR 192.168.65.80
SERVER_ADMIN webmaster@snsb.info
SERVER_NAME biocase.snsb.info
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.57 (Rocky Linux) OpenSSL/3.0.7
UNIQUE_ID Zz9ggT70xiBdosyvARO-_wAAAQA