Commit 776a8c04 authored by Łukasz Nowak's avatar Łukasz Nowak

- reorganise file a bit to have more important information on top


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33374 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b61705a7
...@@ -10,6 +10,79 @@ ...@@ -10,6 +10,79 @@
# The path to the data files, local product files, import directory, # The path to the data files, local product files, import directory,
# and Extensions directory used by Zope. # and Extensions directory used by Zope.
instancehome ${instancehome} instancehome ${instancehome}
# Directive: ip-address
#
# Description:
# The default IP address on which Zope's various server protocol
# implementations will listen for requests. If this is unset, Zope
# will listen on all IP addresses supported by the machine. This
# directive can be overridden on a per-server basis in the servers
# section.
ip-address ${ip-address}
# Directives: servers
#
# Description:
# A set of sections which allow the specification of Zope's various
# ZServer servers. 7 different server types may be defined:
# http-server, ftp-server, webdav-source-server, persistent-cgi,
# fast-cgi, monitor-server, and icp-server. If no servers are
# defined, the default servers are used.
#
# Ports may be specified using the 'address' directive either in simple
# form (80) or in complex form including hostname 127.0.0.1:80. If the
# hostname is "left off", the default-ip-address is used as the hostname.
#
# Port numbers are offset by the setting of port-base.
#
# To run the monitor-server an emergency user must be defined
# (through an 'access' file).
#
# Default:
#
# An HTTP server starts on port 8080.
<http-server>
# valid keys are "address" and "force-connection-close"
address ${http-address}
force-connection-close ${http-force-connection-close}
</http-server>
# TODO in clever way:
#
# <ftp-server>
# # valid key is "address"
# address 8021
# </ftp-server>
#
# <webdav-source-server>
# # valid keys are "address" and "force-connection-close"
# address 1980
# force-connection-close off
# </webdav-source-server>
#
# <persistent-cgi>
# # valid key is "path"
# path somefile
# </persistent-cgi>
#
# <fast-cgi>
# # valid key is "address"; the address may be hostname:port, port,
# # or a path for a Unix-domain socket
# address somefile
# </fast-cgi>
#
# <monitor-server>
# # valid keys are "address"
# address 8099
# </monitor-server>
#
# <icp-server>
# # valid key is "address"
# address 888
# </icp-server>
# #
# Directive: clienthome # Directive: clienthome
# #
...@@ -18,20 +91,6 @@ instancehome ${instancehome} ...@@ -18,20 +91,6 @@ instancehome ${instancehome}
# placed. # placed.
clienthome ${clienthome} clienthome ${clienthome}
# Directive: path
#
# Description:
# Name of a directory which should be inserted into the
# the beginning of Python's module search path. This directive
# may be specified as many times as needed to insert additional
# directories. The set of directories specified is inserted into the
# beginning of the module search path in the order which they are specified
# here. Note that the processing of this directive may happen too late
# under some circumstances; it is recommended that you use the PYTHONPATH
# environment variable if using this directive doesn't work for you.
path ${lib_path}
# Directive: products # Directive: products
# #
# Description: # Description:
...@@ -52,6 +111,16 @@ path ${lib_path} ...@@ -52,6 +111,16 @@ path ${lib_path}
${products} ${products}
# Directives: port-base
#
# Description:
# Offset applied to the port numbers used for ZServer
# configurations. For example, if the http-server port is 8080 and
# the port-base is 1000, the HTTP server will listen on port 9080.
# This makes it easy to change the complete set of ports used by a
# Zope server process
port-base ${port-base}
# Directive: environment # Directive: environment
# #
# Description: # Description:
...@@ -66,6 +135,19 @@ ${products} ...@@ -66,6 +135,19 @@ ${products}
# </environment> # </environment>
${environment} ${environment}
# Directive: path
#
# Description:
# Name of a directory which should be inserted into the
# the beginning of Python's module search path. This directive
# may be specified as many times as needed to insert additional
# directories. The set of directories specified is inserted into the
# beginning of the module search path in the order which they are specified
# here. Note that the processing of this directive may happen too late
# under some circumstances; it is recommended that you use the PYTHONPATH
# environment variable if using this directive doesn't work for you.
path ${lib_path}
# Directive: debug-mode # Directive: debug-mode
# #
# Description: # Description:
...@@ -86,7 +168,6 @@ ${environment} ...@@ -86,7 +168,6 @@ ${environment}
# encouraged, as it speeds execution (sometimes dramatically). # encouraged, as it speeds execution (sometimes dramatically).
debug-mode ${debug-mode} debug-mode ${debug-mode}
# Directive: effective-user # Directive: effective-user
# #
# Description: # Description:
...@@ -94,10 +175,8 @@ debug-mode ${debug-mode} ...@@ -94,10 +175,8 @@ debug-mode ${debug-mode}
# directive with an effective username or userid number to which Zope # directive with an effective username or userid number to which Zope
# will 'suid' after the server ports are bound. This directive only # will 'suid' after the server ports are bound. This directive only
# has effect under UNIX and if Zope is started as the root user. # has effect under UNIX and if Zope is started as the root user.
effective-user ${effective-user} effective-user ${effective-user}
# Directive: enable-product-installation # Directive: enable-product-installation
# #
# Description: # Description:
...@@ -112,7 +191,6 @@ effective-user ${effective-user} ...@@ -112,7 +191,6 @@ effective-user ${effective-user}
# once, the others can have it turned off. # once, the others can have it turned off.
# NOTE: If your main storage is mounted read-only, # NOTE: If your main storage is mounted read-only,
# you must set this directive to "off". # you must set this directive to "off".
enable-product-installation ${enable-product-installation} enable-product-installation ${enable-product-installation}
# Directive: locale # Directive: locale
...@@ -124,10 +202,8 @@ enable-product-installation ${enable-product-installation} ...@@ -124,10 +202,8 @@ enable-product-installation ${enable-product-installation}
# support the locale module, or if the requested locale is not # support the locale module, or if the requested locale is not
# supported by your system, an error will be raised and Zope will not # supported by your system, an error will be raised and Zope will not
# start. # start.
locale ${locale} locale ${locale}
# Directive: datetime-format # Directive: datetime-format
# #
# Description: # Description:
...@@ -137,10 +213,8 @@ locale ${locale} ...@@ -137,10 +213,8 @@ locale ${locale}
# days-before-month-before-year ("international"). The default # days-before-month-before-year ("international"). The default
# behaviour of DateTime (when this setting is left unset) is to # behaviour of DateTime (when this setting is left unset) is to
# parse dates as US dates. # parse dates as US dates.
datetime-format ${datetime-format} datetime-format ${datetime-format}
# Directive: zserver-threads # Directive: zserver-threads
# #
# Description: # Description:
...@@ -159,7 +233,6 @@ zserver-threads ${zserver-threads} ...@@ -159,7 +233,6 @@ zserver-threads ${zserver-threads}
# environment. # environment.
python-check-interval ${python-check-interval} python-check-interval ${python-check-interval}
# Directive: zserver-read-only-mode # Directive: zserver-read-only-mode
# #
# Description: # Description:
...@@ -262,16 +335,6 @@ ${cgi-environment} ...@@ -262,16 +335,6 @@ ${cgi-environment}
# not resolve hostnames unless this is set. # not resolve hostnames unless this is set.
dns-server ${dns-server} dns-server ${dns-server}
# Directive: ip-address
#
# Description:
# The default IP address on which Zope's various server protocol
# implementations will listen for requests. If this is unset, Zope
# will listen on all IP addresses supported by the machine. This
# directive can be overridden on a per-server basis in the servers
# section.
ip-address ${ip-address}
# Directive: http-realm # Directive: http-realm
# #
# Description: # Description:
...@@ -551,16 +614,6 @@ ${warnfilter} ...@@ -551,16 +614,6 @@ ${warnfilter}
# in order to service incoming connections. # in order to service incoming connections.
max-listen-sockets ${max-listen-sockets} max-listen-sockets ${max-listen-sockets}
# Directives: port-base
#
# Description:
# Offset applied to the port numbers used for ZServer
# configurations. For example, if the http-server port is 8080 and
# the port-base is 1000, the HTTP server will listen on port 9080.
# This makes it easy to change the complete set of ports used by a
# Zope server process
port-base ${port-base}
# Directive: large-file-threshold # Directive: large-file-threshold
# #
# Description: # Description:
...@@ -577,68 +630,6 @@ ${large-file-threshold} ...@@ -577,68 +630,6 @@ ${large-file-threshold}
# data that reaches ZPublisher without any other specified encoding. # data that reaches ZPublisher without any other specified encoding.
default-zpublisher-encoding ${default-zpublisher-encoding} default-zpublisher-encoding ${default-zpublisher-encoding}
# Directives: servers
#
# Description:
# A set of sections which allow the specification of Zope's various
# ZServer servers. 7 different server types may be defined:
# http-server, ftp-server, webdav-source-server, persistent-cgi,
# fast-cgi, monitor-server, and icp-server. If no servers are
# defined, the default servers are used.
#
# Ports may be specified using the 'address' directive either in simple
# form (80) or in complex form including hostname 127.0.0.1:80. If the
# hostname is "left off", the default-ip-address is used as the hostname.
#
# Port numbers are offset by the setting of port-base.
#
# To run the monitor-server an emergency user must be defined
# (through an 'access' file).
#
# Default:
#
# An HTTP server starts on port 8080.
<http-server>
# valid keys are "address" and "force-connection-close"
address ${http-address}
force-connection-close ${http-force-connection-close}
</http-server>
# Examples:
#
# <ftp-server>
# # valid key is "address"
# address 8021
# </ftp-server>
#
# <webdav-source-server>
# # valid keys are "address" and "force-connection-close"
# address 1980
# force-connection-close off
# </webdav-source-server>
#
# <persistent-cgi>
# # valid key is "path"
# path somefile
# </persistent-cgi>
#
# <fast-cgi>
# # valid key is "address"; the address may be hostname:port, port,
# # or a path for a Unix-domain socket
# address somefile
# </fast-cgi>
#
# <monitor-server>
# # valid keys are "address"
# address 8099
# </monitor-server>
#
# <icp-server>
# # valid key is "address"
# address 888
# </icp-server>
# Database (zodb_db) section # Database (zodb_db) section
# #
...@@ -663,6 +654,7 @@ default-zpublisher-encoding ${default-zpublisher-encoding} ...@@ -663,6 +654,7 @@ default-zpublisher-encoding ${default-zpublisher-encoding}
container-class Products.TemporaryFolder.TemporaryContainer container-class Products.TemporaryFolder.TemporaryContainer
</zodb_db> </zodb_db>
# Timeserver to have ticks in zope
%import timerserver %import timerserver
<timer-server> <timer-server>
interval 5 interval 5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment