Below is the httpd.conf virtual host directive I created based on the directions from the mod_wsgi website. Everything is working fine with mod_wsgi and Django. The problem I am having is with the media directory (I would like it to be /images/).
It appears that the line with Alias /images/ is being overridden by the line with WSGIScriptAlias /. Is this the expected result? My understanding from the mod_wsgi site was that if the Alias /images/ line was placed first, it would take precedence. I also tried moving it to after the WSGIScriptAlias line, but it made no difference. Any ideas? Thanks, Steve <VirtualHost 69.93.29.146> ServerAlias www.missedventures.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/missed/public_html ServerName missedventures.com User missed Group missed BytesLog /usr/local/apache/domlogs/missedventures.com-bytes_log CustomLog /usr/local/apache/domlogs/missedventures.com combined ScriptAlias /cgi-bin/ /home/missed/public_html/cgi-bin/ Alias /images/ /home/missed/django/projectsmt/images/ <Directory /home/missed/django/projectsmt/images> Order deny,allow Allow from all </Directory> WSGIScriptAlias / /home/missed/django/projectsmt/pjsmt.wsgi <Directory /home/missed/django/projectsmt> Order deny,allow Allow from all </Directory> </VirtualHost> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---