# # waskaweb - Pylons development environment configuration # # The %(here)s variable will be replaced with the parent directory of this file # [DEFAULT] debug = true # Uncomment and replace with the address which should receive any error reports #email_to = you@yourdomain.com smtp_server = localhost error_email_from = paste@localhost formed_tree = ../../formed/formedtree_web.xml upload_dir = /uploads maintenance_db = waska_maintenance # for connections to PostgeSQL database # db_database: %s will be replaced by certificate value # db_user: first %s -> database name, second %s -> user db_database = ka_%s_db db_user = ka_%s_%s db_host = 192.168.11.17 db_port = 5434 # for connections to PDF2XFA server pdf2xfa_host = 192.168.11.17 pdf2xfa_port = 1111 [server:main] use = egg:Paste#http host = 0.0.0.0 port = 5001 [app:main] use = egg:waskaweb lang = de full_stack = true cache_dir = /usr/local/wsgi/waska_data beaker.session.key = waskaweb beaker.session.secret = somesecret beaker.session.timeout = 1800 #beaker.session.type = memory #beaker.session.invalidate_corrupt = True # If you'd like to fine-tune the individual locations of the cache data dirs # for the Cache data, or the Session saves, un-comment the desired settings # here: #beaker.cache.data_dir = %(here)s/data/cache #beaker.session.data_dir = %(here)s/data/sessions # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* # Debug mode will enable the interactive debugging tool, allowing ANYONE to # execute malicious code after an exception is raised. #set debug = false #Authkit #authkit.setup.method = form, cookie #authkit.form.authenticate.user.data = anton:admin #authkit.cookie.secret = random string #authkit.cookie.secret = c040503178d7eca202b416398671a50f75afa86be6e1938a5e75b55a52d14026 #authkit.cookie.params = {expires:'10'} #authkit.form.template.obj = waskaweb.lib.template:make_template #authkit.cookie.signoutpath = /waska/logout #authkit.method.formauthenticate.function = waskaweb.lib.security:checkLogin #authkit.form.authenticate.function = waskaweb.lib.security:checkLogin # Logging configuration [loggers] keys = root, waskaweb [handlers] keys = console [formatters] keys = generic [logger_root] level = INFO handlers = console [logger_waskaweb] level = DEBUG handlers = qualname = waskaweb [handler_console] class = StreamHandler args = (sys.stderr,) level = NOTSET formatter = generic [formatter_generic] format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s datefmt = %H:%M:%S