[Answered ]-Can't get mod_wsgi to work with Apache and Django on Mac OS X

2👍

It looks like you have two Aliases for the same path. So hence you have a duplication. Remove:

Alias /plagtest/ "/Users/plagtest/myproject/"
<Directory "/Users/plagtest/myproject/">
    Order allow,deny
    Options Indexes
    Allow from all
    IndexOptions FancyIndexing
</Directory>

Without the media alias’s the django manuals recommended HTTP conf is:

WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py

<Directory /path/to/mysite.com/mysite>
    <Files wsgi.py>
    Order allow,deny
    Allow from all
    </Files>
</Directory>

Leave a comment