Created
April 6, 2012 02:57
-
-
Save hanleybrand/2316346 to your computer and use it in GitHub Desktop.
Mac httpd.conf for localhost mdid3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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