Here is an error log I'm getting after stopping and restarting apache, which is my final step in setting up OSQA:
[Mon Jul 23 17:45:23 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Mon Jul 23 17:45:23 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Mon Jul 23 17:45:23 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 01:26:11 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 01:26:18 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 01:26:18 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 01:26:18 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 01:26:25 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:26:29 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:26:31 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:26:32 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:26:35 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:26:46 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:27:01 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 01:27:06 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 01:27:06 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 01:27:06 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 01:27:09 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:27:13 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:27:16 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:27:51 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:27:55 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:27:57 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:28:45 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:28:53 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:29:10 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:29:12 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:30:13 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:30:14 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:36:50 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:37:58 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 01:38:00 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 04:48:09 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 04:48:14 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 04:48:14 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 04:48:14 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 04:48:32 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 04:48:35 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 04:48:38 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 04:53:45 2012] [error]
[client 127.0.0.1] Target WSGI script
not found or unable to stat:
/home/davehust/osqa/osqa.wsgi
[Tue Jul 24 05:01:21 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 05:09:33 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 05:09:33 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 05:09:33 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 05:34:14 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 05:34:18 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 05:34:18 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 05:34:18 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 01:34:33 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=3117): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 01:34:33 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 01:34:33 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 01:34:33 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 01:34:33 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 01:34:33 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 01:34:33 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 01:34:36 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=3117): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 01:34:36 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 01:34:36 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 01:34:36 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 01:34:36 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 01:34:36 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 01:34:36 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 01:40:40 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=3118): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 01:40:40 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 01:40:40 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 01:40:40 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 01:40:40 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 01:40:40 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 01:40:40 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 05:40:49 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 05:40:54 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 05:40:54 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 05:40:54 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 01:40:59 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=4050): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 01:40:59 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 01:40:59 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 01:40:59 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 01:40:59 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 01:40:59 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 01:40:59 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 01:41:05 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=4050): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 01:41:05 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 01:41:05 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 01:41:05 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 01:41:05 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 01:41:05 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 01:41:05 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 07:49:25 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=4049): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 07:49:25 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 07:49:25 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 07:49:25 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 07:49:25 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 07:49:25 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 07:49:25 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 07:49:27 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=4050): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 07:49:27 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 07:49:27 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 07:49:27 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 07:49:27 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 07:49:27 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 07:49:27 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 11:59:40 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 12:04:47 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 12:04:47 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 12:04:47 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 12:04:52 2012] [notice]
caught SIGTERM, shutting down
[Tue Jul 24 12:04:57 2012] [warn]
mod_wsgi: Compiled for Python/2.7.1.
[Tue Jul 24 12:04:57 2012] [warn]
mod_wsgi: Runtime using Python/2.7.3.
[Tue Jul 24 12:04:57 2012] [notice]
Apache/2.2.17 (Unix) mod_wsgi/3.3
Python/2.7.3 configured -- resuming
normal operations
[Tue Jul 24 08:04:59 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=30136): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 08:04:59 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 08:04:59 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 08:04:59 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 08:04:59 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 08:04:59 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 08:04:59 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
[Tue Jul 24 08:05:01 2012] [error]
[client 127.0.0.1] mod_wsgi
(pid=30137): Exception occurred
processing WSGI script
'/home/davehust/webapps/qa/osqa.wsgi'.
[Tue Jul 24 08:05:01 2012] [error]
[client 127.0.0.1] Traceback (most
recent call last):
[Tue Jul 24 08:05:01 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/wsgi.py",
line 219, in call
[Tue Jul 24 08:05:01 2012] [error]
[client 127.0.0.1]
self.load_middleware()
[Tue Jul 24 08:05:01 2012] [error]
[client 127.0.0.1] File
"/home/davehust/webapps/qa/lib/python2.7/django/core/handlers/base.py",
line 51, in load_middleware
[Tue Jul 24 08:05:01 2012] [error]
[client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Middleware
module "%s" does not define a "%s"
class' % (mw_module, mw_classname))
[Tue Jul 24 08:05:01 2012] [error]
[client 127.0.0.1]
ImproperlyConfigured: Middleware
module "django.middleware.csrf" does
not define a "CsrfResponseMiddleware"
class
I'm guessing this is happening because a file is not pointing to the correct location of the OSQA installation folder. According to the error above it looks like it's looking for it at
/home/davehust/osqa/osqa.wsgi
and in the httpd.conf file I made it so it should point to the correct folder by changing the alias to