| Revision 97:763b7fa0b394,
1.8 KB
checked in by s0undt3ch, 3 years ago
(diff) |
|
[svn r137] Minor fixes in order for the app to actually work under new Pylons. There might still exist several bugs.
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # ISPManCCP - Pylons development environment configuration |
|---|
| 3 | # |
|---|
| 4 | # The %(here)s variable will be replaced with the parent directory of this file |
|---|
| 5 | # |
|---|
| 6 | [DEFAULT] |
|---|
| 7 | debug = true |
|---|
| 8 | # Uncomment and replace with the address which should receive any error reports |
|---|
| 9 | #email_to = you@yourdomain.com |
|---|
| 10 | smtp_server = localhost |
|---|
| 11 | error_email_from = paste@localhost |
|---|
| 12 | |
|---|
| 13 | [server:main] |
|---|
| 14 | use = egg:Paste#http |
|---|
| 15 | host = 0.0.0.0 |
|---|
| 16 | port = 5000 |
|---|
| 17 | use_threadpool = true |
|---|
| 18 | threadpool_workers = 10 |
|---|
| 19 | |
|---|
| 20 | [app:main] |
|---|
| 21 | use = egg:ISPManCCP |
|---|
| 22 | full_stack = true |
|---|
| 23 | cache.enabled = true |
|---|
| 24 | cache_dir = %(here)s/data |
|---|
| 25 | beaker.session.key = ispmanccp |
|---|
| 26 | beaker.session.secret = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz |
|---|
| 27 | |
|---|
| 28 | app_realm = Customer Control Panel |
|---|
| 29 | ispman_base_dir = /home/vampas/projects/ISPManCCP/ispman-install |
|---|
| 30 | bad_passwords_file = /usr/share/dict/cracklib-small |
|---|
| 31 | passwords_min_length = 6 |
|---|
| 32 | passwords_non_letter_min_chars = 2 |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | # If you'd like to fine-tune the individual locations of the cache data dirs |
|---|
| 36 | # for the Cache data, or the Session saves, un-comment the desired settings |
|---|
| 37 | # here: |
|---|
| 38 | beaker.cache.data_dir = %(here)s/data/cache |
|---|
| 39 | beaker.session.data_dir = %(here)s/data/sessions |
|---|
| 40 | |
|---|
| 41 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
|---|
| 42 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
|---|
| 43 | # execute malicious code after an exception is raised. |
|---|
| 44 | #set debug = false |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | # Logging configuration |
|---|
| 48 | [loggers] |
|---|
| 49 | keys = root, ispmanccp |
|---|
| 50 | |
|---|
| 51 | [handlers] |
|---|
| 52 | keys = console |
|---|
| 53 | |
|---|
| 54 | [formatters] |
|---|
| 55 | keys = generic |
|---|
| 56 | |
|---|
| 57 | [logger_root] |
|---|
| 58 | ;level = DEBUG |
|---|
| 59 | level = INFO |
|---|
| 60 | handlers = console |
|---|
| 61 | |
|---|
| 62 | [logger_ispmanccp] |
|---|
| 63 | level = DEBUG |
|---|
| 64 | handlers = |
|---|
| 65 | qualname = ispmanccp |
|---|
| 66 | |
|---|
| 67 | [handler_console] |
|---|
| 68 | class = StreamHandler |
|---|
| 69 | args = (sys.stderr,) |
|---|
| 70 | level = NOTSET |
|---|
| 71 | formatter = generic |
|---|
| 72 | |
|---|
| 73 | [formatter_generic] |
|---|
| 74 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|---|
| 75 | datefmt = %H:%M:%S |
|---|
Note: See
TracBrowser
for help on using the repository browser.