SHARE
TWEET

Untitled

a guest Dec 20th, 2011 82 Never
  1. httpd.conf:
  2.  
  3. WSGIScriptAlias /treeio /var/www/treeio/wsgi.py
  4. WSGIPythonPath /var/www/treeio
  5.  
  6. <Directory /var/www/treeio>
  7. <Files wsgi.py>
  8. Order deny,allow
  9. Allow from all
  10. </Files>
  11. </Directory>
  12.  
  13. ------
  14.  
  15. /var/www/treeio/wsgi.py:
  16.  
  17. import os
  18.  
  19. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
  20.  
  21. from django.core.wsgi import get_wsgi_application
  22. application = get_wsgi_application()
RAW Paste Data
Top