I am using FastCGI for everyone my Django application, so essentially it really works such as this: http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#running-django-on-a-shared-hosting-provider-with-apache
What's the easiest way I'm able to serve static media (images, css, etc) out of this? Thanks!
I personally use this during my apache conf:
Alias /static/ /path/to/static/files/ <Directory /path/to/static/files/> Order deny,allow Allow from all </Directory>
If using Apache to front the website we normally opt for WSGI for hooking up to django after which let Apache handle '/media/...anything...' as statically offered content. It is a couple lines of config and Bob's your Uncle!
Update: I ought to include that the majority of our Django sites take presctiption devoted servers, however, you may also do that easily at webfaction.com.
<Location "/media"> SetHandler None </Location>
Add any appropriate
Alias directives for your web server configuration, from greatest to shallowest.