How can I create a simple FCGI program in my ~/public_html that will be executed that will dispatch web requests to my pyramid website?
In django, using the code below works fine for me:
#!/usr/local/bin/python2.6
import sys
import os
sys.path.append('/home/username/local/lib/python2.6/site-packages')
os.environ['DJANGO_SETTINGS_MODULE'] = 'myproj.settings'
from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")
I'm stuck at the moment. By the way, This is my 2nd day in learning pyramid.