Skip to content

Instantly share code, notes, and snippets.

@joelklabo
Created August 28, 2010 04:39
Show Gist options
  • Save joelklabo/554724 to your computer and use it in GitHub Desktop.
Save joelklabo/554724 to your computer and use it in GitHub Desktop.
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()
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@brooski.net 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
<VirtualHost brooski.net:80>
ServerAdmin root@brooski.net
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