#!/usr/bin/python2.4 # -*- coding: iso-8859-1 -*- """ MoinMoin - CGI Driver Script @copyright: 2000-2005 by Jürgen Hermann @license: GNU GPL, see COPYING for details. """ # System path configuration import sys import os os.umask(002) # Path of the directory where wikiconfig.py is located. # YOU NEED TO CHANGE THIS TO MATCH YOUR SETUP. sys.path.insert(0, '/research/ouspg/public/public_access/wikis/www.wifipedia.org/config') # Path to MoinMoin package, needed if you installed with --prefix=PREFIX # or if you did not use setup.py. sys.path.insert(0, '/usr/lib/python2.4/site-packages') # Path of the directory where farmconfig.py is located (if different). ## sys.path.insert(0, '/path/to/farmconfig') # This is used to profile MoinMoin (default disabled) hotshotProfiler = 0 # --------------------------------------------------------------------- if hotshotProfiler: import hotshot prof = hotshot.Profile("moin.prof") prof.start() from MoinMoin.request import RequestCGI request = RequestCGI() request.run() if hotshotProfiler: prof.close()