Skip to content

Instantly share code, notes, and snippets.

@hanleybrand
Created April 6, 2012 02:57
Show Gist options
  • Save hanleybrand/2316346 to your computer and use it in GitHub Desktop.
Save hanleybrand/2316346 to your computer and use it in GitHub Desktop.
Mac httpd.conf for localhost mdid3
## Append to bottom of your httpd.conf (or wherever you want to put it)
WSGIScriptAlias / /Users/username/Dev/mdid3/django_virtualenv.wsgi
## Server setup
alias /static/admin/ /Users/username/mdid3/django/contrib/admin/media/
alias /static/ /Users/username/mdid3/rooibos/static/
<Directory /Users/username/Dev/mdid3fork/rooibos/rooibos/static/>
Order deny,allow
Allow from all
</Directory>
<Directory /Users/username/mdid3/rooibos/static/>
Order deny,allow
Allow from all
</Directory>
WSGIDaemonProcess mdid user=username group=staff threads=25
WSGIProcessGRoup mdid
<Directory /Users/username/Dev/mdid3/>
Order allow,deny
Allow from all
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment