view redirector.ini @ 2:ff524f0a62de default tip

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 09:58:14 -0800
parents af82aaec0377
children
line wrap: on
line source

#!/usr/bin/env paster

[DEFAULT]
debug = true
email_to = jhammel@openplans.org
smtp_server = localhost
error_email_from = paste@localhost

[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5521

[composite:main]
use = egg:Paste#urlmap
/ = redirector

set debug = false

[app:redirector]
paste.app_factory = redirector.factory:factory
redirector.redirector = ini-redirector
redirector.ini-redirector.ini = %(here)s/ini-redirector.ini
app.directory = %(here)s/sample