2003-03-13 20:59:59 +01:00
|
|
|
Available configuration options for /etc/glasnost/config
|
|
|
|
========================================================
|
|
|
|
|
|
|
|
General options
|
|
|
|
---------------
|
|
|
|
|
|
|
|
(under [Misc])
|
|
|
|
|
|
|
|
# Show debugging information when an error occurs. (boolean, default: false)
|
|
|
|
Debug = false
|
|
|
|
|
|
|
|
# Show special information for debugging TAL
|
|
|
|
DebugTAL = false
|
|
|
|
|
2003-09-24 22:21:14 +02:00
|
|
|
# Save profiling informations
|
|
|
|
Profiling = false
|
|
|
|
|
2003-03-13 20:59:59 +01:00
|
|
|
# How many minutes should the cache held files? (default: 15)
|
|
|
|
CacheTime = 15
|
|
|
|
|
|
|
|
# Expiration time for user session (default: 120)
|
|
|
|
ExpirationTime = 120
|
|
|
|
|
|
|
|
# Use buffered requests (boolean, default: false) (experimental)
|
|
|
|
UseBufferedRequests = false
|
|
|
|
|
|
|
|
# Disable spellchecking (used in preview for textarea)
|
|
|
|
DisableSpellchecking = false
|
|
|
|
|
2003-04-09 00:58:18 +02:00
|
|
|
# Define the directory to look for .py files when not found in DocumentRoot
|
2003-04-10 10:39:48 +02:00
|
|
|
# (WARNING: no trailing slash)
|
2003-04-09 00:58:18 +02:00
|
|
|
WebDirectoryPath =
|
|
|
|
|
2003-04-10 22:41:12 +02:00
|
|
|
# Cache files? (boolean, default: false)
|
|
|
|
CacheFiles = false
|
|
|
|
|
2003-03-13 20:59:59 +01:00
|
|
|
Per dispatcher options
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
It is possible to customize several options on a per dispatcher basis,
|
|
|
|
for example:
|
|
|
|
|
2003-04-24 23:16:13 +02:00
|
|
|
[glasnost://a.potential.dispatcher.id]
|
2003-06-20 18:33:55 +02:00
|
|
|
AdminEmailAddress = fred@localhost
|
2003-03-13 20:59:59 +01:00
|
|
|
DataDirectoryPath = /var/vhosts/go-there/glasnost-data/
|
|
|
|
ScriptDirectoryPath = /var/vhosts/go-there/glasnost-scripts/
|
|
|
|
TalExtensionsDirectoryPath = /var/vhosts/go-there/glasnost-extensions/
|
|
|
|
TemplateDirectoryPath = %(vardir)s/templates
|
2003-04-24 23:16:13 +02:00
|
|
|
|
|
|
|
|
2003-06-25 17:18:12 +02:00
|
|
|
Per virtual host options
|
|
|
|
------------------------
|
2003-04-04 13:12:04 +02:00
|
|
|
|
|
|
|
It is possible to set some general options to apply only when processing
|
|
|
|
some host:
|
|
|
|
|
|
|
|
[www.example.com]
|
2003-06-25 16:46:14 +02:00
|
|
|
Debug = true
|
2003-04-04 13:12:04 +02:00
|
|
|
UseHTTPS = false
|
|
|
|
|
|
|
|
The available options are:
|
|
|
|
|
2003-06-24 17:15:16 +02:00
|
|
|
CacheFiles:
|
|
|
|
Define if Glasnost should cache page results in some circumstances (user
|
|
|
|
not logged, no active session...) (default: false)
|
|
|
|
|
2003-06-25 17:28:49 +02:00
|
|
|
CacheTime:
|
|
|
|
Define (in minutes) how long cached files should stay in cache.
|
|
|
|
(default: 15)
|
|
|
|
|
2003-06-25 16:46:14 +02:00
|
|
|
Debug:
|
|
|
|
Show debugging information when an error occurs. (default: false)
|
|
|
|
|
2004-03-07 18:52:27 +01:00
|
|
|
DeleteSessionOnLogout:
|
|
|
|
(default: false)
|
|
|
|
|
2003-06-25 17:18:12 +02:00
|
|
|
DisableSpellchecking:
|
|
|
|
Disable spellchecking (used in <textarea> previews). (default: false)
|
|
|
|
|
2003-12-30 17:57:04 +01:00
|
|
|
HelpMode::
|
|
|
|
Define how online help links should be rendered; possible values are:
|
|
|
|
local (suppose help is available on the same site), internet (create
|
|
|
|
links to http://glasnost.entrouvert.org) and none (no links are created).
|
|
|
|
Default is "internet".
|
|
|
|
|
2003-09-28 18:24:14 +02:00
|
|
|
Profiling:
|
- Réorg des web, edit, submit et tout. Plusieurs fois, et chaque fois un peu
plus loin. A priori, sans trop tester (mais c'est la première fois que
j'allais aussi loin dans les cards), ça fonctionne. Il y a encore quelques
questions mais on verra ça à Paris. (il y a eu un conflit au niveau des
Cards, je ne vérifie pas si ça fonctionen toujours, je n'ai pas vraiment le
temps...) (normalement, oui)
- Ajout d'un LdapPeopleWeb pour aller chercher les personnes dans un annuaire
LDAP. Ça va de pair avec l'authentification LDAP et ça marche.
- Ajout d'un groupe "Logged Users" dont la possibilité a été découverte par
hasard. (le groupe "General Public" m'acceptait quand je n'étais pas loggé
et me refusait quand j'étais loggé via LDAP, avec un userId != people)
- Ajout du support pour commentaires à un article, ça fonctionne mais c'est un
peu caché pour le moment.
- ...
2003-10-26 10:18:03 +01:00
|
|
|
Dumps profiling informations into /tmp/
|
2003-09-28 18:24:14 +02:00
|
|
|
(default: false)
|
|
|
|
|
2003-06-24 17:15:16 +02:00
|
|
|
ShowFullListInSelectIdForServerRoles:
|
|
|
|
Define the server roles for which the whole list should appear in SelectId
|
2003-06-25 16:58:56 +02:00
|
|
|
<select> widgets (instead of the last visited objects).
|
2003-06-24 17:15:16 +02:00
|
|
|
|
2003-06-25 17:18:12 +02:00
|
|
|
UseBufferedRequests:
|
|
|
|
Buffer requests so the whole response is sent to the web browser when it is
|
|
|
|
ready (opposed to serving content as soon as it is available).
|
|
|
|
(default: false)
|
|
|
|
|
2003-06-24 17:15:16 +02:00
|
|
|
UseHTTPS:
|
|
|
|
Define if the site should switch to HTTPS when user logs in.
|
|
|
|
(default: false)
|
|
|
|
|
|
|
|
WebDirectoryPath:
|
|
|
|
Define an additional path where to look for .py files after site
|
|
|
|
DocumentRoot and before Glasnost-wide WebDirectoryPath.
|
2003-04-24 23:16:13 +02:00
|
|
|
|
2003-06-25 16:21:13 +02:00
|
|
|
|
2003-03-29 18:05:05 +01:00
|
|
|
Per server options
|
|
|
|
------------------
|
|
|
|
|
|
|
|
ServerHostName
|
|
|
|
ServerPort
|
|
|
|
|
2003-06-25 16:21:13 +02:00
|
|
|
|
|
|
|
Gateway specific option
|
|
|
|
-----------------------
|
|
|
|
|
2003-06-25 16:46:14 +02:00
|
|
|
PublicPort:
|
2003-06-25 16:21:13 +02:00
|
|
|
Public port of the gateway (eg 8000), which is redirected by the firewall
|
2003-06-25 16:46:14 +02:00
|
|
|
to the real ServerPort of the gateway (eg 8001).
|
|
|
|
|
|
|
|
|