Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install nginx
- sudo /etc/init.d/nginx start # start nginx
- mod_wsgi.listener_port
- '80'
- mod_wsgi.listener_host
- ''
- CONTEXT_DOCUMENT_ROOT
- '/var/www/html'
- SERVER_SOFTWARE
- 'Apache/2.4.7 (Ubuntu)'
- SCRIPT_NAME
- u''
- mod_wsgi.enable_sendfile
- '0'
- mod_wsgi.handler_script
- ''
- SERVER_SIGNATURE
- '<address>Apache/2.4.7 (Ubuntu) Server at ec2-**-**.us-west-2.compute.amazonaws.com Port 80</address>n'
- REQUEST_METHOD
- 'GET'
- PATH_INFO
- u'/index'
- SERVER_PROTOCOL
- 'HTTP/1.1'
- QUERY_STRING
- ''
- HTTP_USER_AGENT
- 'Mozilla/5.0 (Windows NT 6.1; rv:35.0) Gecko/20100101 Firefox/35.0'
- HTTP_CONNECTION
- 'keep-alive'
- SERVER_NAME
- 'ec2-**-**.us-west-2.compute.amazonaws.com'
- REMOTE_ADDR
- '107.0.193.131'
- mod_wsgi.request_handler
- 'wsgi-script'
- wsgi.url_scheme
- 'http'
- PATH_TRANSLATED
- '/home/ubuntu/tproxy/tp/tp/wsgi.py/index'
- SERVER_PORT
- '80'
- wsgi.multiprocess
- True
- mod_wsgi.input_chunked
- '0'
- SERVER_ADDR
- '172.31.28.196'
- DOCUMENT_ROOT
- '/var/www/html'
- mod_wsgi.process_group
- ''
- SCRIPT_FILENAME
- '/home/ubuntu/tproxy/tp/tp/wsgi.py'
- SERVER_ADMIN
- 'webmaster@localhost'
- wsgi.input
- <mod_wsgi.Input object at 0x7fdd5e046af0>
- HTTP_HOST
- 'ec2-**-**.us-west-2.compute.amazonaws.com'
- (env1)ubuntu@ip-172-31-28-196:~/tproxy/tp$ apachectl -k stop
- httpd (pid 1132?) not running
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement