Size: 751
Comment:
|
← Revision 26 as of 2014-03-17 00:53:07 ⇥
Size: 1607
Comment: spelling
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
""" Standalone server configuration, you can either use this file or commandline options to configure server options. """ |
[[http://www.activestate.com/activepython|ActivePython|title=ActivePython]] from ActiveState is a commercial-grade, quality-assured Python distribution focusing on easy installation and cross-platform compatibility on Windows, Linux, Mac OS X, Solaris, HP-UX and AIX. It includes numerous useful modules in addition to the standard libraries and allows for quick installation of additional modules via [[http://docs.activestate.com/activepython/2.7/pypm.html|PyPM (Python Package Manager)]]. |
Line 6: | Line 3: |
from MoinMoin.script.server.standalone import DefaultConfig | [[http://code.activestate.com/pypm/|PyPM Index]] shows which modules are available on various platforms, and allows you to search by package name, author, tag, or what the module imports. |
Line 8: | Line 5: |
class Config(DefaultConfig): port = 8080 # if you use port < 1024, you need to start as root |
Several versions of ActivePython are available: |
Line 11: | Line 7: |
# if you start the server as root, the standalone server can change # to this user and group, e.g. 'www-data' #user = '' #group = '' |
* [[http://www.activestate.com/activepython/downloads|Community Edition]]: Free distribution, ideal for community developers with open source projects. * [[http://www.activestate.com/business-edition|ActivePython Business Edition]]: For SMB and government with business critical applications. Per-server licensing and support. * [[http://www.activestate.com/enterprise-edition|ActivePython Enterprise Edition]]: For large enterprises with mission critical applications. Customizable support program and optional legal indemnification. * [[http://www.activestate.com/oem|ActivePython OEM]]: Redistribution rights for ActivePython with optional support and legal indemnification. |
Line 16: | Line 12: |
# use '' for all interface or "1.2.3.4" for some specific IP #interface = 'localhost' |
|
Line 19: | Line 13: |
# where the static data is served from: #docs = "/usr/share/moin/htdocs" # tuning options: #serverClass = 'ThreadPoolServer' #threadLimit = 10 #requestQueueSize = 50 |
[[http://www.activestate.com|ActiveState|title=ActiveState]] is one of the most well known and one of the longest running suppliers of Python distributions, tools, and support. |
ActivePython from ActiveState is a commercial-grade, quality-assured Python distribution focusing on easy installation and cross-platform compatibility on Windows, Linux, Mac OS X, Solaris, HP-UX and AIX. It includes numerous useful modules in addition to the standard libraries and allows for quick installation of additional modules via PyPM (Python Package Manager).
PyPM Index shows which modules are available on various platforms, and allows you to search by package name, author, tag, or what the module imports.
Several versions of ActivePython are available:
Community Edition: Free distribution, ideal for community developers with open source projects.
ActivePython Business Edition: For SMB and government with business critical applications. Per-server licensing and support.
ActivePython Enterprise Edition: For large enterprises with mission critical applications. Customizable support program and optional legal indemnification.
ActivePython OEM: Redistribution rights for ActivePython with optional support and legal indemnification.
ActiveState is one of the most well known and one of the longest running suppliers of Python distributions, tools, and support.