Size: 964
Comment: converted to 1.6 markup
|
Size: 751
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
The ActivePython Python distribution is a distribution focusing on an easy install and use. It provides builds for a number of platforms: Linux, Windows, Mac OS X, Solaris, HP-UX and AIX. On Windows, ActivePython also includes Win32All (a.k.a. pywin32). | """ Standalone server configuration, you can either use this file or commandline options to configure server options. """ |
Line 3: | Line 6: |
You can find this distribution in: [[http://www.activestate.com/Products/ActivePython/]]. |
from MoinMoin.script.server.standalone import DefaultConfig |
Line 6: | Line 8: |
In addition, ActiveState provides a quality assured enterprise version, OEM licensing, CD/DVD distribution, and support which may be attractive to some customers. Two other products of ActiveState are Komodo IDE and Komodo Edit, which are useful IDEs for Python and other scripting languages. Since November 2007, there is a free and open source (http://svn.openkomodo.com/openkomodo/browse/openkomodo) version of the Komodo Edit available, as part of the OpenKomodo project. | class Config(DefaultConfig): port = 8080 # if you use port < 1024, you need to start as root |
Line 8: | Line 11: |
ActiveState is one of the most well known and one of the longest running suppliers of Python distributions, tools, and support. | # 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 |
"""
- 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