comparison comments+captcha.ini @ 6:c95f1dfed329

some work to get commenting + captchas working together
author k0s <k0scist@gmail.com>
date Tue, 02 Mar 2010 11:44:10 -0500
parents
children
comparison
equal deleted inserted replaced
5:451169e51935 6:c95f1dfed329
1 #!/usr/bin/env paster
2
3 [DEFAULT]
4 debug = true
5 email_to = k0scist@gmail.com
6 smtp_server = localhost
7 error_email_from = paste@localhost
8
9 [server:main]
10 use = egg:Paste#http
11 host = 0.0.0.0
12 port = 1080
13
14 [composite:main]
15 use = egg:Paste#urlmap
16 / = commentator
17
18 set debug = false
19
20 [app:commentator]
21 paste.app_factory = commentator.example:captcha_factory
22 directory = %(here)s/example
23 commentator.database = %(here)s/test.pck
24 commentator.pattern = (.*)#.//div[@id='comment_on_this'] -> ${1}
25 #commentator.pattern = /blog/.*##([0-9]{14})->/blog/$1 # for bitsyblog