Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # apachectl -V
- Server version: Apache/2.2.15 (Unix)
- Server built: Apr 3 2014 23:56:16
- Server's Module Magic Number: 20051115:25
- Server loaded: APR 1.3.9, APR-Util 1.3.9
- Compiled using: APR 1.3.9, APR-Util 1.3.9
- Architecture: 64-bit
- Server MPM: Prefork
- threaded: no
- forked: yes (variable process count)
- # httpd -M | grep wsgi
- wsgi_module (shared)
- Syntax OK
- #
- # Add WSGI configuration
- #
- WSGIScriptAlias / /usr/local/django/basic/basic/apache/wsgi.py
- WSGIPythonPath /usr/local/django/basic/
- WSGIDaemonProcess ###.###.###.###
- WSGIProcessGroup ###.###.###.###
- <Directory /usr/local/django/basic/basic/apache>
- <Files wsgi.py>
- Options FollowSymLinks
- Order deny,allow
- Allow from all
- </Files>
- </Directory>
- """
- WSGI config for basic project.
- It exposes the WSGI callable as a module-level variable named ``application``.
- For more information on this file, see
- https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
- """
- import os
- import sys
- path = "/usr/local/django/basic/basic/apache"
- if path not in sys.path:
- sys.path.append(path)
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "basic.settings")
- from django.core.wsgi import get_wsgi_application
- application = get_wsgi_application()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement