Skip to content

Instantly share code, notes, and snippets.

@djacobs
Created November 3, 2009 18:14
Show Gist options
  • Save djacobs/225303 to your computer and use it in GitHub Desktop.
Save djacobs/225303 to your computer and use it in GitHub Desktop.
bobcousy@bobcousyslisp.com [~/public_html]# cat dispatch.fcgi
#!/usr/local/bin/python2.5
import sys
import os
sys.path.append('/home/bobcousy/local/lib/python2.5/site-packages')
sys.path.append('/home/bobcousy/public_html/mymotion')
os.environ['DJANGO_SETTINGS_MODULE'] = 'mymotion.settings'
from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")
bobcousy@bobcousyslisp.com [~/public_html]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment