comparison wikiserverconfig.py @ 3495:be29346a6aa3

add wikiserverconfig sample for the standalone server configuration
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 11 Apr 2008 22:48:11 +0200
parents
children edb6cb2cac43
comparison
equal deleted inserted replaced
3494:b6b73490f248 3495:be29346a6aa3
1 """
2 Standalone server configuration, you can either use this file or
3 commandline options to configure server options.
4 """
5
6 from MoinMoin.script.server.standalone import DefaultConfig
7
8 class Config(DefaultConfig):
9 port = 8080 # if you use port < 1024, you need to start as root
10
11 # if you start the server as root, the standalone server can change
12 # to this user and group, e.g. 'www-data'
13 #user = ''
14 #group = ''
15
16 # use '' for all interface or "1.2.3.4" for some specific IP
17 #interface = 'localhost'
18
19 # where the static data is served from:
20 #docs = "/usr/share/moin/htdocs"
21
22 # tuning options:
23 #serverClass = 'ThreadPoolServer'
24 #threadLimit = 10
25 #requestQueueSize = 50
26