22/05/13

WSGI Test Script

WSGI test script is working!
1. System Information Python 2.7.3 (default, Jan 2 2013, 16:53:07) [GCC 4.7.2] ['/usr/local/share/moin/server', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7'] linux2 /usr/local/share/moin/server test.wsgi 2. WSGI Environment SERVER_SOFTWARE SCRIPT_NAME REQUEST_METHOD SERVER_PROTOCOL HOME LANG SHELL SERVER_PORT HTTP_HOST HTTP_CACHE_CONTROL HTTP_ACCEPT wsgi.version wsgi.run_once SSH_TTY wsgi.errors wsgi.multiprocess MAIL SSH_CONNECTION PATH_INFO SSH_CLIENT LOGNAME USER QUERY_STRING PATH PS1 TERM HTTP_USER_AGENT HTTP_CONNECTION 192.168.1.100:8000 'WSGIServer/0.1 Python/2.7.3' '' 'GET' 'HTTP/1.1' '/root' 'it_IT.UTF-8' '/bin/bash' '8000' '192.168.1.100:8000' 'max-age=0' 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' (1, 0) False '/dev/pts/1' ', mode 'w' at 0xb75960d0> False '/var/mail/root' ... '/' '192.168.1.200 49418 2250' 'root' 'root' '' '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/local/tools/bin' '\\h:\\w\\$ ' 'xterm' ... 'keep-alive'
1/2

Python Path

Platform Absolute path of this script Filename

HTTP_ACCEPT_LANGUAGE 'it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4'

22/05/13

WSGI Test Script

HTTP_CONNECTION XDG_SESSION_COOKIE SERVER_NAME REMOTE_ADDR SHLVL wsgi.url_scheme CONTENT_LENGTH wsgi.input wsgi.multithread _ GATEWAY_INTERFACE OLDPWD PWD CONTENT_TYPE wsgi.file_wrapper REMOTE_HOST

'keep-alive' ... ... '192.168.1.200' '1' 'http' '' True '/usr/bin/python' 'CGI/1.1' '/usr/lib' '/usr/local/share/moin/server' 'text/plain' ...

HTTP_ACCEPT_ENCODING 'gzip,deflate,sdch'

192.168.1.100:8000

2/2

Sign up to vote on this title
UsefulNot useful