Commit | Line | Data |
---|---|---|
dba46c5c FB |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ; Copyright (C) 2003-2010 Polytechnique.org ; | |
3 | ; http://opensource.polytechnique.org/ ; | |
4 | ; ; | |
5 | ; This program is free software; you can redistribute it and/or modify ; | |
6 | ; it under the terms of the GNU General Public License as published by ; | |
7 | ; the Free Software Foundation; either version 2 of the License, or ; | |
8 | ; (at your option) any later version. ; | |
9 | ; ; | |
10 | ; This program is distributed in the hope that it will be useful, ; | |
11 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; | |
12 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; | |
13 | ; GNU General Public License for more details. ; | |
14 | ; ; | |
15 | ; You should have received a copy of the GNU General Public License ; | |
16 | ; along with this program; if not, write to the Free Software ; | |
17 | ; Foundation, Inc., ; | |
18 | ; 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; | |
19 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
20 | ||
21 | ; DO NOT EDIT THIS FILE | |
22 | ; This file contains the default values for the configuration variables of | |
23 | ; plat/al. This values can be overriden in by adding a platal.conf file in | |
24 | ; the same directory. | |
25 | ; DO NOT EDIT THIS FILE | |
26 | ||
27 | ||
28 | ; The core section contains the main configuration of the website like name | |
29 | ; of the site, its URL, or the database parameters. It also provide tools | |
30 | ; to setup debugging or restrictions on the website. | |
ea6398d1 | 31 | [Core] |
dba46c5c FB |
32 | |
33 | ; $globals->locale | |
34 | ; Locale of the web site. This includes language and charset to | |
35 | ; use for system strings. | |
3a824ce3 | 36 | locale = "fr_FR.UTF-8" |
dba46c5c FB |
37 | |
38 | ; $globals->timezone | |
39 | ; The timezone of the server. | |
949741c3 | 40 | timezone = "Europe/Paris" |
dba46c5c FB |
41 | |
42 | ; $globals->core->restricted_platal | |
43 | ; When activated restricted_platal, the copy of the website is protected against | |
44 | ; indexation by search engine. This also activate the addition of catch-all emails | |
45 | ; by PlMailer. (see email_catchall and robotstxt_disallowed_uris for more details). | |
46 | ; | |
47 | ; A production website should set this variable to true in platal.conf | |
91f3d206 | 48 | restricted_platal = 1 |
dba46c5c FB |
49 | |
50 | ; $globals->core->robotstxt_disallowed_uris | |
51 | ; List of urls that must not be indexed by search engines when the site is not | |
52 | ; in restricted mode. The urls must be separated by spaces or commas. | |
53 | ; | |
54 | ; e.g: robotstxt_disallowed_uris = "/javascript /images /Xorg" | |
91f3d206 | 55 | robotstxt_disallowed_uris = |
ea6398d1 | 56 | |
dba46c5c FB |
57 | ; $globals->email_catchall |
58 | ; An email address that signal a mail to be discarded by the mail routing | |
59 | ; environment. | |
60 | ; | |
61 | ; email_catchall = "" | |
62 | ||
63 | ; $globals->cookie_ns | |
64 | ; String to preprend to the name of the cookies generated by the site | |
65 | ; | |
66 | ; cookie_ns = "" | |
67 | ||
68 | ; $globals->cookie_path | |
69 | ; The path the cookies generated by the site are associated to. | |
70 | ; | |
71 | ; cookie_path = "" | |
72 | ||
73 | ; $globals->debug | |
74 | ; Debug flags. The flags are integer mask and the debug value is a combination | |
75 | ; of this flags. Available values are: | |
76 | ; - provided by the core: | |
77 | ; 1 - DEBUG_BT: displays the backtraces (SQL, mailman, banana executions) | |
78 | ; 2 - DEBUG_VALID: checks that the html of the page is valid | |
79 | ; 4 - DEBUG_SMARTY: don't hide error reported during the execution of smarty | |
80 | ; - provided by xorg: | |
81 | ; 256 - DEBUG_NOCACHE: don't cache db content in the session | |
82 | ; | |
83 | ; debug = 0 | |
84 | ||
85 | ; $globals->mode | |
86 | ; Plat/al execution mode: | |
87 | ; empty -> this copy of plat/al is disabled | |
88 | ; 'r' -> read only, writing in the database is not allowed (excepting logging) | |
89 | ; 'rw' -> read-write, the site is fully available | |
90 | ; | |
91 | ; mode = "rw" | |
92 | ||
93 | ; $globals->core->secure_domain | |
94 | ; If not empty, the site automatically redirects the user to the secure_domain. | |
95 | ; The value must be a hostname (eg.: www.polytechnique.org) | |
96 | secure_domain = "" | |
97 | ||
98 | ; $globals->baseurl | |
99 | ; The base url of the web site. This value is used only for scripts called from | |
100 | ; command line. The value is computed automatically when php serves a web page. | |
101 | baseurl = "https://www.example.org/" | |
102 | ||
103 | ; $globals->sitename | |
104 | ; The name of the site | |
105 | ; | |
106 | ; sitename = "" | |
107 | ||
108 | ; $globals->dbhost | |
109 | ; Host where the db is located | |
110 | ; dbhost = "localhost" | |
111 | ||
112 | ; $globals->dbuser | |
113 | ; Username to use to connect to the database | |
114 | ; dbuser = "web" | |
115 | ||
116 | ; $globals->dbpwd | |
117 | ; Password to use to connect to the database | |
118 | ; dbpwd = "" | |
119 | ||
120 | ; $globals->dbdb | |
121 | ; Name of the database | |
122 | ; dbdb = "x4dat" | |
123 | ||
124 | ; $globals->dbcharset | |
125 | ; The charset to use when talking to the database | |
126 | ; dbcharset = "utf8" | |
127 | ||
128 | ; $globals->static_cache_duration | |
129 | ; Cache duration for static content | |
130 | ; static_cache_duration = "604800" | |
131 | ||
132 | ; $globals->dynamic_cache_duration | |
133 | ; Cache duration for dynamic content | |
134 | ; dynamic_cache_duration = "3600" | |
135 | ||
136 | ; $globals->skin | |
137 | ; Skin to use for unlogged accesses and when the user didn't explicitely | |
138 | ; select a skin. | |
25962601 | 139 | skin = "default" |
dba46c5c FB |
140 | |
141 | ; $globals->register_skin | |
142 | ; Skin to use during registration process | |
25962601 | 143 | register_skin = "register" |
144 | ||
dba46c5c FB |
145 | ; $globals->core->econfiance |
146 | ; Key used to perform transactions with the 'econfiance' webservice in order | |
147 | ; to synchronize the X-Informatique directory with polytechnique.net | |
148 | econfiance = "" | |
149 | ||
150 | ||
151 | ; The banana section contains the configuration of the forums. | |
79a28dc9 | 152 | [Banana] |
dba46c5c FB |
153 | |
154 | ; $globals->banana->server | |
155 | ; Hostname of the nntp server | |
79a28dc9 | 156 | server = "localhost" |
dba46c5c FB |
157 | |
158 | ; $globals->banana->port | |
159 | ; Port of the nntp server (if port is 563, banana automatically switch | |
160 | ; to nntps) | |
79a28dc9 | 161 | port = 119 |
162 | ||
dba46c5c FB |
163 | ; $globals->banana->password |
164 | ; Password used by banana to authenticate site users with the nntp server. | |
79a28dc9 | 165 | password = "***" |
dba46c5c FB |
166 | |
167 | ; $globals->banana->web_user | |
168 | ; Username used by banana | |
79a28dc9 | 169 | web_user = "***" |
dba46c5c FB |
170 | |
171 | ; $globals->banana->web_pass | |
172 | ; Password used by banana to perform administrative tasks unrelated to a | |
173 | ; specific user | |
79a28dc9 | 174 | web_pass = "***" |
175 | ||
dba46c5c FB |
176 | ; $globals->banana->event_forum |
177 | ; Name of the newsgroup where events are posted | |
b2bffbe6 | 178 | event_forum = "" |
dba46c5c FB |
179 | |
180 | ; $globals->banana->event_reply | |
181 | ; Name of a newsgroup where to reply to posted events | |
b2bffbe6 | 182 | event_reply = "" |
183 | ||
dba46c5c FB |
184 | |
185 | ; The geocoder section contains parameters used to perform the geocoding | |
186 | ; and the formatting of user addresses. | |
4c906759 | 187 | [Geocoder] |
dba46c5c FB |
188 | |
189 | ; $globals->geocder->email | |
190 | ; Unused parameter. | |
4c906759 | 191 | email = "" |
dba46c5c FB |
192 | |
193 | ; $globals->geocoder->gmaps_key | |
194 | ; API key to use when querying google maps web service | |
4c906759 | 195 | gmaps_key = "" |
dba46c5c FB |
196 | |
197 | ; $globals->geocoder->gmaps_url | |
198 | ; URL of geocoding webservice | |
4c906759 | 199 | gmaps_url = "http://maps.google.com/maps/geo" |
138b3c8e | 200 | |
dba46c5c FB |
201 | |
202 | ; The lists section contains parameters used to interact with mailman. | |
79a28dc9 | 203 | [Lists] |
dba46c5c FB |
204 | |
205 | ; $globals->lists->rpchost | |
206 | ; Hostname where the lists' rpc server is located | |
79a28dc9 | 207 | rpchost = "localhost" |
dba46c5c FB |
208 | |
209 | ; $globasl->lists->rpcport | |
210 | ; Port of the lists' rpc server | |
1fec3393 | 211 | rpcport = "4949" |
79a28dc9 | 212 | |
dba46c5c FB |
213 | ; $globals->lists->spool |
214 | ; Path to the archives of mailman. This is used to provide access to the archives | |
215 | ; via the web interface | |
fa7d6c7b | 216 | spool = "/var/lib/mailman/archives/private" |
dba46c5c FB |
217 | |
218 | ; $globals->lists->vhost_sep | |
219 | ; Character used to separate the host part and the list name part in the internal | |
220 | ; name of the list in mailman. If vhost_sep is '_', the list blah@example.com will | |
221 | ; be internally named example.com_blah | |
79a28dc9 | 222 | vhost_sep = "_" |
223 | ||
dba46c5c FB |
224 | ; $globals->lists->max_mail_per_min |
225 | ; Maximum number of mails an instance of the moderation cron accepts to deliver. | |
834fd0f6 | 226 | max_mail_per_min = 400 |
227 | ||
dba46c5c FB |
228 | |
229 | ; The mail section contains parameters used to interacts with email routing | |
fb31ee6b | 230 | [Mail] |
dba46c5c FB |
231 | |
232 | ; $globals->mail->domain | |
233 | ; Main mail domain | |
fb31ee6b | 234 | domain = "" |
dba46c5c FB |
235 | |
236 | ; $globals->mail->domain2 | |
237 | ; Secondary mail domain providing aliases to the main domain. | |
fb31ee6b VZ |
238 | domain2 = "" |
239 | ||
dba46c5c FB |
240 | ; $globals->mail->alias_dom |
241 | ; Mail domain hosting user-choosen aliases. | |
fb31ee6b | 242 | alias_dom = "" |
dba46c5c FB |
243 | |
244 | ; $globals->mail->alias_dom2 | |
245 | ; Secondary domain for user-choosen aliases. | |
fb31ee6b VZ |
246 | alias_dom2 = "" |
247 | ||
9e2a6a32 SJ |
248 | blacklist_check_url = "" |
249 | blacklist_host_resolution_limit = | |
dba46c5c FB |
250 | |
251 | ; $globals->mail->domain_whitelist | |
252 | ; Space-separated list of domains to be accepted in urls in the newsletter even if this | |
253 | ; domain is blacklisted by a spam filter. | |
955109ba | 254 | domain_whitelist = "" |
9e2a6a32 | 255 | |
dba46c5c FB |
256 | |
257 | ; The mailstorage section contains parameters describing the availability of email storage services | |
fb31ee6b | 258 | [MailStorage] |
dba46c5c FB |
259 | |
260 | ; $globals->mailstorage->imap_active | |
261 | ; Boolean flag triggering the activation of the administration interface for the imap storage service. | |
fb31ee6b | 262 | imap_active = 0 |
dba46c5c FB |
263 | |
264 | ; $globals->mailstorage->googleapps_active | |
265 | ; Boolean flag triggering the activation of the administration interface for the googleapps service. | |
fb31ee6b | 266 | googleapps_active = 0 |
dba46c5c FB |
267 | |
268 | ; $globals->mailstorage->googleapps_domain | |
269 | ; Domain used internally when redirecting an email to the googleapps account of a user. | |
bb0727ea | 270 | googleapps_domain = "" |
79a28dc9 | 271 | |
dba46c5c FB |
272 | |
273 | ; The manageurs section contains parameters for the webservice providing data to manageurs.com | |
e1ccc9fa | 274 | [Manageurs] |
dba46c5c FB |
275 | |
276 | ; $globals->manageurs->authorized_ips | |
277 | ; Space-separated list of IP that are allowed on the webservice | |
e1ccc9fa | 278 | authorized_ips = "129.104.30.32 129.104.30.33 213.251.145.200" |
dba46c5c FB |
279 | |
280 | ; $globals->manageurs->manageurs_cipher_key | |
281 | ; Key used to cipher data sent to manageurs.com | |
e1ccc9fa | 282 | manageurs_cipher_key = "" |
dba46c5c FB |
283 | |
284 | ; $globals->manageurs->manageurs_pass | |
285 | ; Password to be provided by manageurs.com to get authenticated on the webservice | |
e1ccc9fa | 286 | manageurs_pass = "" |
287 | ||
288 | ||
dba46c5c | 289 | ; The money section contains parameters for the payment module |
07126863 | 290 | [Money] |
dba46c5c FB |
291 | |
292 | ; $globals->money->email | |
293 | ; Email address to which payment related actions are reported | |
294 | ; | |
295 | ; email = "" | |
296 | ||
297 | ; Undocumented parameter | |
07126863 | 298 | mpay_def_id = 0 |
dba46c5c FB |
299 | |
300 | ; Undocumented parameter | |
07126863 | 301 | mpay_def_meth = 0 |
dba46c5c FB |
302 | |
303 | ; $globals->money->paypal_site | |
304 | ; Hostname of the Paypal site | |
07126863 | 305 | paypal_site = "" |
dba46c5c FB |
306 | |
307 | ; $globals->money->paypal_compte | |
308 | ; Account on Paypal | |
07126863 | 309 | paypal_compte = "" |
310 | ||
dba46c5c FB |
311 | ; $globals->money->cyberplus_key |
312 | ; API key to use when accessing the CyberPlus payment service | |
313 | ; | |
314 | ; cyperplus_key = "" | |
07126863 | 315 | |
79a28dc9 | 316 | |
dba46c5c FB |
317 | ; The poison section contains parameters for injecting poisonous email on the internet |
318 | [Poison] | |
79a28dc9 | 319 | |
dba46c5c FB |
320 | ; $globals->poison->file |
321 | ; Path to a file containing one poisonous email per line | |
322 | file = "" | |
323 | ||
324 | ||
325 | ; The search section contains parameters for the search module | |
79a28dc9 | 326 | [Search] |
dba46c5c FB |
327 | |
328 | ; $globals->search->public_max | |
329 | ; Maximum number of profiles a search on the public site is allowed to return. | |
79a28dc9 | 330 | public_max = 25 |
dba46c5c FB |
331 | |
332 | ; $globals->search->private_max | |
333 | ; Maximum number of profiles a search on the private site is allowed to return | |
79a28dc9 | 334 | private_max = 800 |
dba46c5c FB |
335 | |
336 | ; $globals->search->per_page | |
337 | ; Maximum number of profiles per page in the result of a search | |
79a28dc9 | 338 | per_page = 20 |
339 | ||
dba46c5c FB |
340 | |
341 | ; The register section contains parameters for the registration process | |
9812efa0 | 342 | [Register] |
dba46c5c FB |
343 | |
344 | ; $globals->register->notif | |
345 | ; Email address to be notified on new registrations. | |
9812efa0 | 346 | notif = "" |
79a28dc9 | 347 | |
dba46c5c FB |
348 | |
349 | ; The webservice section contains parameters used to access external webservices | |
350 | [WebService] | |
351 | ||
352 | ; $globals->webservice->pass | |
353 | ; Pass to access the webservice of manageurs.com | |
354 | pass = "" | |
355 | ||
356 | ; $globals->webservice->pass_ax | |
357 | ; Passphrase to use to access the webservice of the AX | |
358 | pass_ax = "" | |
359 | ||
360 | ; $globals->webservice->hsot_ax | |
361 | ; Host of the webservice of the AX | |
362 | host_ax = "https://www.polytechniciens.com/" | |
363 | ||
364 | ; $globals->webservice->private_key_ax | |
365 | ; Path to the private key used for authentication with the webservice of the AX | |
366 | private_key_ax = "" | |
367 | ||
368 | ||
369 | ; The xnet section contains parameters for Polytechnique.net | |
79a28dc9 | 370 | [Xnet] |
dba46c5c FB |
371 | |
372 | ; $globals->xnet->secret | |
373 | ; Authentication key to use to authenticate users with Polytechnique.org | |
7a05c64d | 374 | secret = "" |
dba46c5c FB |
375 | |
376 | ; $globals->xnet->auth_baseurl | |
377 | ; Baseur of the site used to perform authentication | |
7a05c64d | 378 | auth_baseurl = "" |
dba46c5c FB |
379 | |
380 | ; $globals->xnet->evts_domain | |
381 | ; Domain address where the aliases containing the list of (non-)subscribers | |
382 | ; of an event are created. | |
383 | evts_domain = "" |