[Zope-Checkins] CVS: Zope/skel/etc - zope.conf.in:1.1.2.11

Fred L. Drake, Jr. fred@zope.com
Mon, 24 Feb 2003 14:36:47 -0500


Update of /cvs-repository/Zope/skel/etc
In directory cvs.zope.org:/tmp/cvs-serv23866/skel/etc

Modified Files:
      Tag: new-install-branch
	zope.conf.in 
Log Message:
Add a port-base setting to the Zope schema, equivalent to using -P# option
to the z2.py script.


=== Zope/skel/etc/zope.conf.in 1.1.2.10 => 1.1.2.11 ===
--- Zope/skel/etc/zope.conf.in:1.1.2.10	Fri Feb 21 10:50:40 2003
+++ Zope/skel/etc/zope.conf.in	Mon Feb 24 14:36:16 2003
@@ -236,7 +236,7 @@
 #    publisher-profile-file /home/chrism/projects/sessions/var/profile.dat
 
 
-# Directive: cgi-environment-variable
+# Directive: cgi-environment
 #
 # Description:
 #     A key which allows a user to define arbitrary key-value pairs for
@@ -613,10 +613,12 @@
 #     fcgi-server, monitor-server, and icp-server.  If no servers are
 #     defined, the default servers are used.
 #
-#     Ports may be specified either in simple form (8080) or in
-#     complex form including hostname 127.0.0.1:8080.  If the hostname
+#     Ports may be specified 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.
-#     XXX describe more
+#
+#     Port numbers are offset by the setting of port-base, which
+#     defaults to 8000.
 #
 # Influences: Zope configuration
 #
@@ -627,20 +629,20 @@
 
 <http-server>
   # valid keys are "address" and "force-connection-close"
-  address 8080
+  address 80
   # force-connection-close on
 </http-server>
 
 <ftp-server>
   # valid key is "address"
-  address 8021
+  address 21
 </ftp-server>
 
 # Examples:
 #
 #  <webdav-source-server>
 #    # valid keys are "address" and "force-connection-close"
-#    address 9980
+#    address 1980
 #    force-connection-close off
 #  </webdav-source-server>
 #
@@ -657,13 +659,33 @@
 #
 #  <monitor-server>
 #    # valid keys are "address"
-#    address 8099
+#    address 99
 #  </monitor-server>
 #
 #  <icp-server>
 #    # valid key is "address"
-#    address 8888
+#    address 888
 #  </icp-server>
+
+
+# Directives: port-base
+#
+# Description:
+#     Offset applied to the port numbers used for the server
+#     configurations.  For example, if the HTTP-Server port is 80 and
+#     the port-base is 8000, the HTTP server will listen on port 8080.
+#     This makes it easy to change the complete set of ports used by a
+#     Zope server process
+#
+# Influences: Zope configuration
+#
+# Default:
+#
+#     8000
+#
+# Example:
+#
+#     port-base 8000
 
 
 # Database section