# # DeliveranceDemo - Pylons development environment configuration # # The %(here)s variable will be replaced with the parent directory of this file # [DEFAULT] debug = true email_to = ianb@openplans.org smtp_server = localhost error_email_from = paste@localhost [server:main] use = egg:Paste#http host = 0.0.0.0 port = 8000 [app:main] use = egg:DeliveranceVHoster data_dir = %(here)s/data #debug_headers = true # To view bodies: #debug_bodies = true # To disable the rewriting of links: #rewrite_links = false # Use this to remove certain headers from any request: # (note: this matches the *environmental key*, not the original header) #clean_environ_headers_regex = ^HTTP_X_OPENPLANS # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* # Debug mode will enable the interactive debugging tool, allowing ANYONE to # execute malicious code after an exception is raised. set debug = false # To set a logger: #logger = /path/dvhoster.log # For stdout logging: #logger = - [app:openplans] use = main ### THIS IS IMPORTANT STUFF SPECIFIC TO OUR DEPLOYMENT ### rewrite_links = false clean_environ_headers_regex = ^HTTP_X_OPENPLANS init_domain = %(here)s/docs/openplans_hooks.py find_remote_uri = %(here)s/docs/openplans_hooks.py should_theme_uri = %(here)s/docs/openplans_hooks.py no_filter_zope = True zope_uri = http://localhost:5050 task_tracker_uri = http://localhost:5000 default_theme_uri = http://www.openplans.org domain_regex = ^(.*)\.flow\.openplans\.org$ # transluder configuration # transcluder_ok_hosts controls which hosts # transcluder will include and recursively # transclude from. # # this can be: # all - any host is ok # none - no hosts are ok # localhost - only localhsost # - only hosts matching the regex given # transcluder_enabled = True transcluder_ok_hosts = openplans.org|(.*)\.openplans.org|(.*)\.localhost.openplans\.org|localhost transcluder_pool_size = 0 ### END THIS IMPORTANT STUFF ###