Changed files:
Zope-start.sh -> 1.3
Zope.init -> 1.9
Zope.instance -> 1.3
# call server
exec python $ZOPE_BASE/z2.py \
--z $INSTANCE_HOME \
--t $NUMBER_OF_THREADS \
--u $ZOPE_USER \
--w $HTTP_PORT \
--f $FTP_PORT \
--l $LOG_FILE \
+-z "$INSTANCE_HOME" \
+-t "$NUMBER_OF_THREADS" \
+-u "$ZOPE_USER" \
+-w "$HTTP_PORT" \
+-f "$FTP_PORT" \
+-W "$WEBDAV_PORT" \
+-l "$LOG_FILE" \
$ipstr \
$icpstr \
$manager \
{
unset INSTANCE_NAME INSTANCE_HOME INST_HOME CGIBIN_BASE LOG_FILE
unset ZOPE_BASE ZOPE_USER NUMBER_OF_THREADS ZOPE_HOME
- unset IP_ADDRESS HTTP_PORT FTP_PORT WATCHDOG
+ unset IP_ADDRESS HTTP_PORT FTP_PORT WEBDAV_PORT WATCHDOG
unset IPC_PORT LOC DEBUG_MODE DETAILED_LOG_FILE
+
+ # by default disable any access
+ HTTP_PORT="-"
+ ICP_PORT="-"
+ FTP_PORT="-"
+ WEBDAV_PORT="-"
}
start_instance()
# empty means to listen on all interfaces
IP_ADDRESS=
-# ports to listen on (0 means disabled)
+# ports to listen on (unset or "-" means disabled)
HTTP_PORT=80
FTP_PORT=21
IPC_PORT=80
+#WEBDAV_PORT=9800
# number of the initial threads to run
NUMBER_OF_THREADS=4