Skip to content

Instantly share code, notes, and snippets.

Created Sep 5, 2010
What would you like to do?
# htaccess for wsgi
SetHandler wsgi-script
PythonHandler wsgi_handler
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !(django.wsgi)
RewriteRule ^(.*)$ django.wsgi/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment