I got it to work today, based on the cgi installation instructions.
My index.fcgi:
import os
import sys
from flup.server.fcgi import WSGIServer
from wsgiref.handlers import BaseCGIHandler
from tiddlyweb.web import serve
tiddlywebconfig_dir = '...'
os.chdir(tiddlywebconfig_dir)
sys.path.insert(0, tiddlywebconfig_dir)
def start():
app = serve.load_app(app_prefix='')
WSGIServer(app).run()
if __name__ == '__main__':
start()
Hope someone finds it useful,
Peter
> In the tiddlyweb documentation, it says fcgi is untested.
> (specifically: http://tiddlyweb.peermore.com/wiki/bags/docs/tiddlers/Using%20Fast%20CGI
> )
>
> I got it to work today, based on the cgi installation instructions.
Thanks, I've udpated the docs.
--
Chris Dent http://burningchrome.com/
[...]