2 # -*- coding: iso-8859-1 -*-
4 MoinMoin - FastCGI Driver Script
6 @copyright: 2008 MoinMoin:ThomasWaldmann
7 @license: GNU GPL, see COPYING for details.
12 # a) Configuration of Python's code search path
13 # If you already have set up the PYTHONPATH environment variable for the
14 # stuff you see below, you don't need to do a1) and a2).
16 # a1) Path of the directory where the MoinMoin code package is located.
17 # Needed if you installed with --prefix=PREFIX or you didn't use setup.py.
18 #sys.path.insert(0, 'PREFIX/lib/python2.3/site-packages')
20 # a2) Path of the directory where wikiconfig.py / farmconfig.py is located.
21 # See wiki/config/... for some sample config files.
22 #sys.path.insert(0, '/etc/moin')
23 sys.path.insert(0, '/etc/moin')
25 # b) Configuration of moin's logging
26 # If you have set up MOINLOGGINGCONF environment variable, you don't need this!
27 # You also don't need this if you are happy with the builtin defaults.
28 # See wiki/config/logging/... for some sample config files.
29 #from MoinMoin import log
30 #log.load_config('/path/to/logging_configuration_file')
32 # Debug mode - show detailed error reports
33 #os.environ['MOIN_DEBUG'] = '1'
36 from MoinMoin.server.server_fastcgi import FastCgiConfig, run
38 class Config(FastCgiConfig):
40 # properties = {'script_name': '/'} # use this instead of the line above if your wiki runs under "/" url
42 # for backlog, we use a default of 5. if the listen(backlog) call crashes for you, try a smaller value!