Content-type: text/html

Current Working Directory:

/

Command Line Arguments:

['/usr/local/www/mozz/gemini/cgi-bin/debug.cgi']

Form Contents:

No form fields.

Shell Environment:

GATEWAY_INTERFACE
GCI/1.1
GEMINI_URL
gemini://mozz.us/cgi-bin/debug.cgi?foobar
HOSTNAME
mozz.us
PATH_INFO
/cgi-bin/debug.cgi
QUERY_STRING
foobar
REMOTE_ADDR
10.10.0.2
REMOTE_HOST
10.10.0.2
SCRIPT_NAME
/usr/local/www/mozz/gemini/cgi-bin/debug.cgi
SERVER_NAME
mozz.us
SERVER_PORT
1965
SERVER_PROTOCOL
GEMINI
SERVER_SOFTWARE
jetforce/0.1.0

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 "/lib64/python2.7/cgi.py", line 904, in test
    g()
  File "/lib64/python2.7/cgi.py", line 902, in g
    f()
  File "/lib64/python2.7/cgi.py", line 900, 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:

/

Command Line Arguments:

['/usr/local/www/mozz/gemini/cgi-bin/debug.cgi']

Form Contents:

No form fields.

Shell Environment:

GATEWAY_INTERFACE
GCI/1.1
GEMINI_URL
gemini://mozz.us/cgi-bin/debug.cgi?foobar
HOSTNAME
mozz.us
PATH_INFO
/cgi-bin/debug.cgi
QUERY_STRING
foobar
REMOTE_ADDR
10.10.0.2
REMOTE_HOST
10.10.0.2
SCRIPT_NAME
/usr/local/www/mozz/gemini/cgi-bin/debug.cgi
SERVER_NAME
mozz.us
SERVER_PORT
1965
SERVER_PROTOCOL
GEMINI
SERVER_SOFTWARE
jetforce/0.1.0