Skip to content

Instantly share code, notes, and snippets.

View ripper234's full-sized avatar
💭
Angel Investor & Advisor

Ron Gross ripper234

💭
Angel Investor & Advisor
View GitHub Profile
# This file should be readable and writable by apache
WSGISocketPrefix ${APACHE_RUN_DIR}
#NOTE: all urs below will need to be adjusted if
#settings.FORUM_SCRIPT_ALIAS !='' (e.g. = 'forum/')
#this allows "rooting" forum at [http://example.com/forum], if you like
<VirtualHost *>
ServerAdmin [email protected]
DocumentRoot /home/osqa/sites/meta-d3c
ServerName meta.draw3cards.com
import os
import sys
sys.path.append('/home/osqa/sites')
sys.path.append('/home/osqa/sites/meta-d3c')
# The first part of this module name should be identical to the directory name
# of the OSQA source. For instance, if the full path to OSQA is
# /home/osqa/osqa-server, then the DJANGO_SETTINGS_MODULE should have a value
# of 'osqa-server.settings'.
os.environ['DJANGO_SETTINGS_MODULE'] = 'meta-d3c.settings'
import django.core.handlers.wsgi
import os
import sys
sys.path.append('/home/osqa/sites')
sys.path.append('/home/osqa/sites/beta-meta-d3c')
# The first part of this module name should be identical to the directory name
# of the OSQA source. For instance, if the full path to OSQA is
# /home/osqa/osqa-server, then the DJANGO_SETTINGS_MODULE should have a value
# of 'osqa-server.settings'.
os.environ['DJANGO_SETTINGS_MODULE'] = 'beta-meta-d3c.settings'
import django.core.handlers.wsgi
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] mod_wsgi (pid=14998): Exception occurred processing WSGI script '/home/osqa/sites/beta-meta-d3c/osqa.wsgi'.
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] Traceback (most recent call last):
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] File "/usr/lib/pymodules/python2.6/django/core/handlers/wsgi.py", line 230, in __call__
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] self.load_middleware()
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 33, in load_middleware
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] for middleware_path in settings.MIDDLEWARE_CLASSES:
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] File "/usr/lib/pymodules/python2.6/django/utils/functional.py", line 276, in __getattr__
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3] self._setup()
[Mon Mar 28 12:04:50 2011] [error] [client 84.109.88.3]
# This file should be readable and writable by apache
WSGISocketPrefix ${APACHE_RUN_DIR}
#NOTE: all urs below will need to be adjusted if
#settings.FORUM_SCRIPT_ALIAS !='' (e.g. = 'forum/')
#this allows "rooting" forum at [http://example.com/forum], if you like
<VirtualHost *>
ServerAdmin [email protected]
DocumentRoot /home/osqa/sites/beta-meta-d3c
ServerName beta.meta.draw3cards.com