Environnement * (function Cgi_environment)
+ (type str) &http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
Use any key/value pair, e.g. ' My_product_envvar Foo_bar '
Instancehome (function Existing_directory)
The top-level directory that contains the application service program with "instance" data. Typically this directory contains a "products" subdirectory (the directory holds the Zope product for the local instance), a "Extensions" subdirectory (which holds the external method of the local instance) and an "import" directory (which holds the ZODB export that the local instance can import). It may also contain "etc", "bin", "Log" and "var" directories, depending on how you configure your Zope instance.
Clienthome (function Existing_directory)
This directory is used to hold the default file storage files that support the ZODB database, as well as some files that are required for the Zope service program to run.
Products (function Existing_directory) (default: ' [] ')
This option adds the specified additional product catalog to the products._path_. Directories list.
Path (function Existing_directory) (default: ' [] ')
This option specifies the place where the additional directory path is to the beginning of the Python module search path. This series of specified directories is inserted at the beginning of the module search path list. Note It is particularly slow to handle this option in some environments, and it is recommended that you use the Pythonpath environment parameter if the option does not work correctly.
Pid-filename (function Existing_dirpath)
The file name and path to write the OS process ID number to the file when Zope starts.
Lock-filename (function Existing_dirpath)
The path of the process lock file at Zope startup (used to inform other processes that the Zope instance is currently running)
Debug-mode (function Asboolean) (default: ' On ')
Some Zope operational control switches are useful when developing under Zope. When debug mode is open:-The process does not leave the control terminal-a product initialization error will cause the startup to fail (instead of writing the error message to the event log file). -like skins, pagetemplatefiles and dtmlfiles These system-based scripts are editable when the service is running, and these changes can be monitored in real time by the service. When this switch is off, you must restart the service to see the change. This switch should be turned off in the Zope product environment so that it performs faster (and sometimes surprises you).
Effective-user (Type str)
If you want to run Zope with the "root" user, you must provide this option, a valid username or userid number, and Zope will run as ' suid ' after the service port is bound (Zope'll ' suid ' after the server ports are bound). This option is valid only if you are running Zope under UNIX with the root user.
Enable-product-installation (function Asboolean) (default: ' On ')
If this option is open, Zope will execute ' product installation ' (Register Python module to a different product catalog) at startup. Turn off this option Zope will start faster, but will cause your Control_panel product list to be out of sync with the content in your product catalog. If the ' zeo_client_name ' option is set, this option is not set, and this option is closed by default.
Locale (instance ZConfig.datatypes.MemoizedConversion)
Locale (internationalized) support is activated when a locale name is used. View the locale information specified by your system in your operating system documentation. If your Python module does not support the locale module, or if the required locale is not supported by your system, the Zope startup error occurs.