Current Working Directory:

/home/users/0/lovepop.jp-softgarden/web/cgi-bin

Command Line Arguments:

['testcgi05.py']

Form Contents:

No form fields.

Shell Environment:

CONTEXT_DOCUMENT_ROOT
/home/users/0/lovepop.jp-softgarden/web
CONTEXT_PREFIX
DOCUMENT_ROOT
/home/users/0/lovepop.jp-softgarden/web
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_HOST
softgarden.lovepop.jp
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_BACKEND
lit011.phy.lolipop.lan
HTTP_X_FORWARDED_FOR
3.239.129.91
HTTP_X_FORWARDED_HOST
softgarden.lovepop.jp
HTTP_X_FORWARDED_PROTO
http
NSS_SDB_USE_CACHE
YES
PATH
/usr/local/bin:/usr/bin:/bin
QUERY_STRING
REMOTE_ADDR
3.239.129.91
REMOTE_PORT
57568
REQUEST_METHOD
GET
REQUEST_SCHEME
http
REQUEST_URI
/cgi-bin/testcgi05.py
SCRIPT_FILENAME
/home/users/0/lovepop.jp-softgarden/web/cgi-bin/testcgi05.py
SCRIPT_NAME
/cgi-bin/testcgi05.py
SERVER_ADDR
172.19.49.40
SERVER_ADMIN
https://lolipop.jp/support/
SERVER_NAME
softgarden.lovepop.jp
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
YozSXUhqpjt79--ajvMtmwAAAHU

These environment variables could have been set:

In addition, HTTP headers sent by the server may be passed in the environment as well. Here are some common variable names:

What follows is a test, not an actual exception:

Traceback (most recent call last):

  File "/usr/local/python/3.7/lib/python3.7/cgi.py", line 881, in test
    g()
  File "/usr/local/python/3.7/lib/python3.7/cgi.py", line 879, in g
    f()
  File "/usr/local/python/3.7/lib/python3.7/cgi.py", line 877, in f
    exec("testing print_exception() -- <I>italics?</I>")
  File "<string>", line 1
    testing print_exception() -- <I>italics?</I>
                          ^
SyntaxError: invalid syntax

Second try with a small maxlen...

Current Working Directory:

/home/users/0/lovepop.jp-softgarden/web/cgi-bin

Command Line Arguments:

['testcgi05.py']

Form Contents:

No form fields.

Shell Environment:

CONTEXT_DOCUMENT_ROOT
/home/users/0/lovepop.jp-softgarden/web
CONTEXT_PREFIX
DOCUMENT_ROOT
/home/users/0/lovepop.jp-softgarden/web
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_HOST
softgarden.lovepop.jp
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_BACKEND
lit011.phy.lolipop.lan
HTTP_X_FORWARDED_FOR
3.239.129.91
HTTP_X_FORWARDED_HOST
softgarden.lovepop.jp
HTTP_X_FORWARDED_PROTO
http
NSS_SDB_USE_CACHE
YES
PATH
/usr/local/bin:/usr/bin:/bin
QUERY_STRING
REMOTE_ADDR
3.239.129.91
REMOTE_PORT
57568
REQUEST_METHOD
GET
REQUEST_SCHEME
http
REQUEST_URI
/cgi-bin/testcgi05.py
SCRIPT_FILENAME
/home/users/0/lovepop.jp-softgarden/web/cgi-bin/testcgi05.py
SCRIPT_NAME
/cgi-bin/testcgi05.py
SERVER_ADDR
172.19.49.40
SERVER_ADMIN
https://lolipop.jp/support/
SERVER_NAME
softgarden.lovepop.jp
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
YozSXUhqpjt79--ajvMtmwAAAHU
None