Revision 301d508e
Modification des applications pour qu'elles utilisent un fichier de configuration séparé pour l'authentification (who.ini).
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@3991 b22e2e97-25c9-44ff-b637-2e5ceca36478
development.ini | ||
---|---|---|
4 | 4 |
# The %(here)s variable will be replaced with the parent directory of this file |
5 | 5 |
# |
6 | 6 |
# This file is for deployment specific config options -- other configuration |
7 |
# that is always required for the app is done in the config directory,
|
|
8 |
# and generally should not be modified by end users.
|
|
7 |
# that is always required for the app is done in the config directory, |
|
8 |
# and generally should not be modified by end users. |
|
9 | 9 |
|
10 | 10 |
[DEFAULT] |
11 | 11 |
debug = true |
... | ... | |
16 | 16 |
|
17 | 17 |
[server:main] |
18 | 18 |
use = egg:Paste#http |
19 |
host = 0.0.0.0
|
|
19 |
host = 0.0.0.0 |
|
20 | 20 |
port = 8082 |
21 | 21 |
|
22 | 22 |
[app:main] |
... | ... | |
66 | 66 |
# pick the form for your database |
67 | 67 |
# %(here) may include a ':' character on Windows environments; this can |
68 | 68 |
# invalidate the URI when specifying a SQLite db via path name |
69 |
# sqlalchemy.url=postgres://username:password@hostname:port/databasename
|
|
69 |
# sqlalchemy.url=postgres://username:password@hostname:port/databasename |
|
70 | 70 |
# sqlalchemy.url=mysql://username:password@hostname:port/databasename |
71 | 71 |
|
72 | 72 |
|
... | ... | |
107 | 107 |
# execute malicious code after an exception is raised. |
108 | 108 |
#set debug = false |
109 | 109 |
|
110 |
auth.config = %(here)s/who.ini |
|
111 |
#auth.log_file = stdout |
|
112 |
#auth.log_level = debug |
|
113 |
|
|
110 | 114 |
# Logging configuration |
111 | 115 |
# Add additional loggers, handlers, formatters here |
112 | 116 |
# Uses python's logging config file format |
... | ... | |
144 | 148 |
# repoze.who and repoze.what: |
145 | 149 |
[logger_auth] |
146 | 150 |
level = WARN |
147 |
handlers =
|
|
151 |
handlers = |
|
148 | 152 |
qualname = auth |
149 | 153 |
|
150 | 154 |
# If you create additional handlers, add them as a key to [handlers] |
Also available in: Unified diff