Skip to content

Instantly share code, notes, and snippets.

@jyr
Created September 5, 2010 05:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jyr/565775 to your computer and use it in GitHub Desktop.
# 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