Assorted Python variables

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

Webserver Environment

Variable Value
CONTEXT_DOCUMENT_ROOT /var/www/biocase/www
CONTEXT_PREFIX
DOCUMENT_ROOT /var/www/biocase/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 close
HTTP_HOST biocase.nordgen.org
HTTP_IF_MODIFIED_SINCE Sun, 26 Mar 2023 00:27:48 GMT
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_FOR 3.239.91.5
LC_CTYPE C.UTF-8
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
QUERY_STRING
REMOTE_ADDR 172.16.64.74
REMOTE_PORT 54140
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /utilities/printenv.cgi
SCRIPT_FILENAME /var/www/biocase/www/utilities/printenv.cgi
SCRIPT_NAME /utilities/printenv.cgi
SERVER_ADDR 172.16.64.81
SERVER_ADMIN webmaster@localhost
SERVER_NAME biocase.nordgen.org
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache