Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. def application(environ, start_response):
  2. status = '200 OK'
  3. output = 'This is my Website!'
  4.  
  5. response_headers = [('Content-type', 'text/plain'),
  6. ('Content-Length', str(len(output)))]
  7. start_response(status, response_headers)
  8.  
  9. return [output]
  10.  
  11. WSGIScriptAlias /wsgi "C:/wsgi_app/wsgi_app.py"
  12. <Directory "C:/wsgi_app">
  13. AllowOverride None
  14. Options indexes FollowSymLinks MultiViews
  15. Require all granted
  16. </Directory>
  17.  
  18. WSGIScriptAlias /wsgi "C:/wsgi_app/wsgi_app.py"
  19. <Directory "C:/wsgi_app">
  20. AllowOverride None
  21. Options none
  22. Require all granted
  23. </Directory>
  24.  
  25. [Wed Feb 10 16:17:49.293987 2016] [wsgi:warn] [pid 4448:tid 336] mod_wsgi: Compiled for Python/2.7.9+.
  26. [Wed Feb 10 16:17:49.293987 2016] [wsgi:warn] [pid 4448:tid 336] mod_wsgi: Runtime using Python/2.7.9.
  27. [Wed Feb 10 16:17:49.325187 2016] [mpm_winnt:notice] [pid 4448:tid 336] AH00354: Child: Starting 64 worker threads.
  28. [Wed Feb 10 16:17:52.538793 2016] [wsgi:error] [pid 4448:tid 1040] [client ::1:54402] Target WSGI script not found or unable to stat: C:/wsgi_app/wsgi_app.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement