From 30c5d40bdafc976501bacd067f5e3d7123270ca2 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 29 Apr 2010 16:58:02 +0200 Subject: [PATCH] fcgi: Update startup script to 1.9. This mixes some of the stuff from the moin.fcgi and moin.cgi scripts, since the former is a bit too complicated for our needs. --- wipi.fcgi | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/wipi.fcgi b/wipi.fcgi index 9795dcb..d953547 100755 --- a/wipi.fcgi +++ b/wipi.fcgi @@ -19,11 +19,10 @@ sys.path.insert(0, confdir) from MoinMoin import log log.load_config(os.path.join(confdir, 'logging.conf')) -# Debug mode - show detailed error reports -#os.environ['MOIN_DEBUG'] = '1' +from MoinMoin.web.flup_frontend import CGIFrontEnd -from MoinMoin.server.server_fastcgi import FastCgiConfig, run -class Config(FastCgiConfig): - pass - -run(Config) +options = [ + # Show errors in the output + #"--debug", "web", + ] +CGIFrontEnd().run(options) -- 2.30.2