I have spent the last 2 days attempting to deploy a Django application I've built and tested using the development server built into manage.py. I've read countless tutorials and snippets, and cannot seem to get anything working correctly. At my wits end, I've come here seeking advice.
Can anyone point me toward a start-to-finish tutorial or blog post that will take me out of the development server and onto Apache + mod_wsgi?
Edit: Having read through the Apache httpd.conf file, I have begun to understand more what Apache is doing, and what the tutorials are doing. However, having completed the Django + mod_wsgi tutorial, substituting in my paths where appropriate, and restarting apache, my / is still mapping to "It works!", the standard Mac Apache success page.
Here is the code I took from the Django tutorial, converted for my purposes, and put at the end of my httpd.conf...
# Django configuration WSGIScriptAlias / /Users/administrator/Developer/billing/apache/django.wsgi <Directory /Users/administrator/Developer/billing/apache/django.wsgi> Order allow,deny Allow from all </Directory> AliasMatch ^/([^/]*\.css) /usr/local/wsgi/static/styles/$1 Alias /media/ /Users/administrator/Developer/billing/media/ Alias /static/ /Users/administrator/Developer/billing/static/ <Directory /Users/administrator/Developer/billing/static> Order deny,allow Allow from all </Directory> <Directory /Users/administrator/Developer/billing/media> Order deny,allow Allow from all </Directory>
Edit #2: The "It works!" page must have been cached, because having changed nothing from the above posted code, I now get a permission denied error when I try to go to /.