annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
1 #!/usr/bin/env paster
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
2
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
3 [DEFAULT]
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
4 debug = true
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
5 email_to = jhammel@openplans.org
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
6 smtp_server = localhost
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
7 error_email_from = paste@localhost
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
8
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
9 [server:main]
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
10 use = egg:Paste#http
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
11 host = 0.0.0.0
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
12 port = 5521
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
13
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
14 [composite:main]
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
15 use = egg:Paste#urlmap
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
16 / = redirector
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
17
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
18 set debug = false
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
19
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
20 [app:redirector]
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
21 paste.app_factory = redirector.factory:factory
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
22 redirector.redirector = ini-redirector
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
23 redirector.ini-redirector.ini = %(here)s/ini-redirector.ini
af82aaec0377 initial import of redirector
k0s <k0scist@gmail.com>
parents:
diff changeset
24 app.directory = %(here)s/sample