view redirector.ini @ 1:55578cf505dd

add some documentation for redirector
author Jeff Hammel <k0scist@gmail.com>
date Wed, 10 Mar 2010 10:45:11 -0500
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