wikiserverconfig.py
author Reimar Bauer <rb.proj AT googlemail DOT com>
Mon, 19 Jan 2009 01:20:04 +0100
changeset 4247 c76d50dac855
permissions -rw-r--r--
text_html_text_moin_wiki: bug fix for GuiEditorBreaksIndentedTable
     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