| author | Reimar Bauer <rb.proj AT googlemail DOT com> |
| Mon, 19 Jan 2009 01:20:04 +0100 | |
| changeset 4247 | c76d50dac855 |
| permissions | -rw-r--r-- |
| tw@3495 | 1 |
""" |
| tw@3495 | 2 |
Standalone server configuration, you can either use this file or |
| tw@3495 | 3 |
commandline options to configure server options. |
| tw@3495 | 4 |
""" |
| tw@3495 | 5 |
|
| tw@3495 | 6 |
from MoinMoin.script.server.standalone import DefaultConfig |
| tw@3495 | 7 |
|
| tw@3495 | 8 |
class Config(DefaultConfig): |
| tw@3495 | 9 |
port = 8080 # if you use port < 1024, you need to start as root |
| tw@3495 | 10 |
|
| tw@3495 | 11 |
# if you start the server as root, the standalone server can change |
| tw@3495 | 12 |
# to this user and group, e.g. 'www-data' |
| tw@3495 | 13 |
#user = '' |
| tw@3495 | 14 |
#group = '' |
| tw@3495 | 15 |
|
| tw@3495 | 16 |
# use '' for all interface or "1.2.3.4" for some specific IP |
| tw@3495 | 17 |
#interface = 'localhost' |
| tw@3495 | 18 |
|
| tw@3495 | 19 |
# where the static data is served from: |
| tw@3495 | 20 |
#docs = "/usr/share/moin/htdocs" |
| tw@3495 | 21 |
|
| tw@3495 | 22 |
# tuning options: |
| tw@3495 | 23 |
#serverClass = 'ThreadPoolServer' |
| tw@3495 | 24 |
#threadLimit = 10 |
| tw@3495 | 25 |
#requestQueueSize = 50 |
| tw@3495 | 26 |