web2ldap - standalone.pyThe configuration module for stand-alone mode |
|
This module contains configuration options solely needed if running as stand-alone web server.
[access_allowed] [access_log] [debug_log] [dir_listing_allowed] [document_root] [error_log] [mime_types] [pid_file] [run_username] [server_admin] [server_signature]Example:
server_signature = """%(SERVER_SOFTWARE)s at
%(SERVER_NAME)s
Port %(SERVER_PORT)s
"""
Example for accepting all client IP addresses:
access_allowed = ['0.0.0.0/0.0.0.0']
Example for accepting only clients from loopback network:
access_allowed = ['127.0.0.1/255.0.0.0']