$!----------------------------------------------------------------------------- $! MOINCGIPLUS.COM $! $! CGIplus wrapper for MoinMoin Wiki $! $! http://moinmoin.wikiwikiweb.de/ $! $! Place in the MoinMoin executable root, e.g. MOIN_ROOT:[000000], and map: $! $! script+ /* /moin_root/moincgiplus/* \ $! map=once ods=5 script=syntax=unix script=query=none $! $! See other instructions for setting up MoinMoin under VMS and WASD $! $! http://vmspython.dyndns.org/MoinMoin $! http://vmspython.dyndns.org/DownloadAndInstallationMoinMoin $! $! This also generally illustrates one way to wrap a persistent Python $! application in a DCL procedure to allow persistent operation under CGIplus. $! $! 22-APR-2007 JFP tweak $! 01-APR-2007 MGD initial $!----------------------------------------------------------------------------- $! $ @python_vms:setup $ define PYTHON_FILE_SHARING 1 $ mcr cgi_exe:pyrte sys$input # Debug mode - show detailed error reports import os #os.environ['MOIN_DEBUG'] = '1' import sys import wasd sys.path.insert(0, '/moin_root/') sys.path.insert(0,'/moin_wiki_root/mywiki/') from MoinMoin.request import RequestCGI while wasd.cgiplus_begin(): request = RequestCGI() request.run() $!-----------------------------------------------------------------------------