Created
August 28, 2010 04:39
-
-
Save joelklabo/554724 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import os | |
import sys | |
sys.path.append('/srv/www/brooski.net/brooski') | |
os.environ['PYTHON_EGG_CACHE'] = '/srv/www/brooski.net/.python-egg' | |
os.environ['DJANGO_SETTINGS_MODULE'] = settings | |
import django.core.handlers.wsgi | |
application = django.core.handlers.wsgi.WSGIHandler() |
This file contains hidden or 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
Internal Server Error | |
The server encountered an internal error or misconfiguration and was unable to complete your request. | |
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. | |
More information about this error may be available in the server error log. | |
Apache/2.2.14 (Ubuntu) Server at brooski.net Port 80 |
This file contains hidden or 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
<VirtualHost brooski.net:80> | |
ServerAdmin [email protected] | |
ServerName brooski.net | |
ServerAlias www.brooski.net | |
DocumentRoot /srv/www/brooski.net/public_html | |
WSGIScriptAlias / /srv/www/brooski.net/brooski/django.wsgi | |
<Directory /srv/www/brooski.net/brooski> | |
Order allow,deny | |
Allow from all | |
</Directory> | |
Alias /robots.txt /srv/www/brooski.net/public_html/robots.txt | |
Alias /favicon.ico /srv/www/brooski.net/public_html/favicon.ico | |
Alias /images /srv/www/brooski.net/public_html/images | |
Alias /static /srv/www/brooski.net/public_html/static | |
ErrorLog /srv/www/brooski.net/logs/error.log | |
CustomLog /srv/www/brooski.net/logs/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment