Wednesday, December 07, 2011

Serving Django Admin Static Media Files with Apache WSGI on Ubuntu « Videntity's Blog:

Serving Django Admin Static Media Files with Apache WSGI on Ubuntu « Videntity's Blog:: "Here is a quick and simple configuration code recipe to serve the admin static files in a production environment using modWSGI and Apache 2.

Modify your apache2 configuration file. By default that would be:

/etc/apache2/sites-available/default
Just add the line:

Alias /media/ /var/www/media/"

'via Blog this'