Django Site after deploying with a StackScript - Need Help
The sample scripts worked great. The sample project works great.
But then I tried to setup my own configuration. Nno matter what I do, Apache won't see the wsgi script.
Here's my VE config:
<virtualhost *:80="">ServerAdmin root@mysite.com
ServerName mysite.com
ServerAlias www.mysite.com
Alias /site_media/ /srv/mysite/site_media/
Alias /admin_media/ /srv/mysite/lib/python2.6/site-packages/django/contrib/admin/media/
# Alias /robots.txt /srv/mysite/robots.txt
# Alias /favicon.ico /srv/mysite/site_media/favicon.ico
CustomLog "|/usr/sbin/rotatelogs /srv/mysite/logs/access.log.%Y%m%d-%H%M%S 5M" combined
ErrorLog "|/usr/sbin/rotatelogs /srv/mysite/logs/error.log.%Y%m%d-%H%M%S 5M" LogLevel warn
WSGIDaemonProcess mysite.com user=django group=django processes=1 threads=15 maximum-requests=10000 python-path=/srv/mysite/lib/python2.6/site-packages python-eggs=/srv/mysite/run/eggs
WSGIProcessGroup mysite.com
WSGIScriptAlias / /srv/mysite/apache/django.wsgi
<directory srv="" mysite="" site_media="">Order deny,allow
Allow from all
Options -Indexes FollowSymLinks</directory>
<directory srv="" mysite="" apache="">Order deny,allow
Allow from all</directory></virtualhost>
The error I'm getting is:
[Thu Aug 05 09:53:27 2010] [error] [client XX.XX.XX.XX] Target WSGI script not found or unable to stat: /srv/mysite/apache/django.wsgi
So, Apache is booting no problem, it's catching the error and access points, it's just not seeing the wsgi file.
I've rebooted, set the permissions wide open, matched the permissions to the sample_project etc, etc.
Can you make any suggestions on what to do?