#
# DeliveranceVHoster - environment configuration
#
[DEFAULT]
## FIXME: should be based on... something else
email_to = ianb@openplans.org
smtp_server = localhost
error_email_from = paste@jhammel-laptop
base_path = /home/jhammel/fsm.env
[server:main]
use = egg:Paste#http
host = localhost
port = 10000
[app:main]
use = egg:DeliveranceVHoster
data_dir = /home/jhammel/fsm.env/var/deliverance/hosts
custom_error_dir = /home/jhammel/fsm.env/deliverance/src/deliverancevhoster/errors/www.openplans.org
#debug_headers = true
# To view bodies:
#debug_bodies = true
# To show how routing is calculated:
#debug_routing = 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
# This makes every site like the "master" www.openplans.org site,
# hosting multiple projects. If you set it to a specific domain, then
# any other domains will be treated as project vhosts:
master_site_domain = auto
# WARNING: *THE LINE BELOW MUST BE FALSE ON A PRODUCTION ENVIRONMENT*
set debug = false
# Force certain URLs to use SSL, or not (via build.ini's sslonly setting)
# WARNING: If this is set to true, you MUST have SSL correctly configured
# for this host, and all SSL requests MUST set X-Forwarded-Scheme header
# to 'https' and X-Forwarded-Port header to '443'.
force_ssl = False
logger = /home/jhammel/fsm.env/var/logs/deliverance/dvhoster.log
init_domain = %(base_path)s/deliverance/src/openplans_hooks/openplans_hooks.py
find_remote_uri = %(base_path)s/deliverance/src/openplans_hooks/openplans_hooks.py
should_theme_uri = %(base_path)s/deliverance/src/openplans_hooks/openplans_hooks.py
links_config = %(base_path)s/etc/build.ini
## FIXME: this should be parameterized or something:
no_filter_zope = True
## FIXME: this should also be parameterized:
domain_regex = ^(.*)\.flow\.openplans\.org$
transcluder_enabled = True
## FIXME: parameterized again:
## (maybe transcluder should have a same-host policy)
# this can be:
# all - any host is ok
# none - no hosts are ok
# localhost - only localhsost
# <regex> - only hosts matching the regex given
transcluder_ok_hosts = openplans.org|(.*)\.openplans.org|(.*)\.localhost.openplans\.org|localhost|127.0.0.1
transcluder_pool_size = 0
default_theme_uri = http://dev.livablestreets.com/theme.html
topp_secret_filename = /home/jhammel/fsm.env/var/secret.txt