Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. # apachectl -V
  2. Server version: Apache/2.2.15 (Unix)
  3. Server built: Apr 3 2014 23:56:16
  4. Server's Module Magic Number: 20051115:25
  5. Server loaded: APR 1.3.9, APR-Util 1.3.9
  6. Compiled using: APR 1.3.9, APR-Util 1.3.9
  7. Architecture: 64-bit
  8. Server MPM: Prefork
  9. threaded: no
  10. forked: yes (variable process count)
  11.  
  12. # httpd -M | grep wsgi
  13. wsgi_module (shared)
  14. Syntax OK
  15.  
  16. #
  17. # Add WSGI configuration
  18. #
  19.  
  20. WSGIScriptAlias / /usr/local/django/basic/basic/apache/wsgi.py
  21. WSGIPythonPath /usr/local/django/basic/
  22. WSGIDaemonProcess ###.###.###.###
  23. WSGIProcessGroup ###.###.###.###
  24.  
  25. <Directory /usr/local/django/basic/basic/apache>
  26. <Files wsgi.py>
  27. Options FollowSymLinks
  28. Order deny,allow
  29. Allow from all
  30. </Files>
  31. </Directory>
  32.  
  33. """
  34. WSGI config for basic project.
  35.  
  36. It exposes the WSGI callable as a module-level variable named ``application``.
  37.  
  38. For more information on this file, see
  39. https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
  40. """
  41.  
  42. import os
  43. import sys
  44.  
  45. path = "/usr/local/django/basic/basic/apache"
  46. if path not in sys.path:
  47. sys.path.append(path)
  48.  
  49. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "basic.settings")
  50.  
  51. from django.core.wsgi import get_wsgi_application
  52. application = get_wsgi_application()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement