Mercurial > moin > 1.9
changeset 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 | b6b73490f248 |
children | ac14bdd08549 |
files | wikiserverconfig.py |
diffstat | 1 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wikiserverconfig.py Fri Apr 11 22:48:11 2008 +0200 @@ -0,0 +1,26 @@ +""" + Standalone server configuration, you can either use this file or + commandline options to configure server options. +""" + +from MoinMoin.script.server.standalone import DefaultConfig + +class Config(DefaultConfig): + port = 8080 # if you use port < 1024, you need to start as root + + # if you start the server as root, the standalone server can change + # to this user and group, e.g. 'www-data' + #user = '' + #group = '' + + # use '' for all interface or "1.2.3.4" for some specific IP + #interface = 'localhost' + + # where the static data is served from: + #docs = "/usr/share/moin/htdocs" + + # tuning options: + #serverClass = 'ThreadPoolServer' + #threadLimit = 10 + #requestQueueSize = 50 +