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
# 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
# Use tables for form layout (bad) (default: false)
UseTablesForFormLayout = false
# Define the directory to look for .py files when not found in DocumentRoot
# (WARNING: no trailing slash)
WebDirectoryPath =
# Display balloons for form elements
UseBalloonHelp = true
# Cache files? (boolean, default: false)
CacheFiles = false
# Domains to use for translations going through gettext (don't change)
GettextDomains = glasnost-web
Per dispatcher options
----------------------
It is possible to customize several options on a per dispatcher basis,
for example:
[glasnost://a.potential.dispatcher.id]
AdminEmailAddress = fred@localhost
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
SendEmailToUsers = true
WelcomeEmailSubject = Welcome on this site
WelcomeEmail-fr = /var/lib/glasnost/welcome.fr
- SendEmailToUsers: set if the PeopleServer should send emails to users
- WelcomeEmailSubject: subject for the email sent when a new person registers
- WelcomeEmail-fr (or any two-letters language code): filename with the
welcome email
It is also possible to define custom modules to use for different server roles
with:
%(serverRole)s-common = ...
%(serverRole)s-proxy = ...
Per virtual host options
------------------------
It is possible to set some general options to apply only when processing
some host:
[www.example.com]
Debug = true
UseHTTPS = false
The available options are:
BaseSectionLevel:
Define the base tag for article subtitles (default: 2 -> <h2>)
CacheFiles:
Define if Glasnost should cache page results in some circumstances (user
not logged, no active session...) (default: false)
CacheTime:
Define (in minutes) how long cached files should stay in cache.
(default: 15)
Debug:
Show debugging information when an error occurs. (default: false)
DisableSpellchecking:
Disable spellchecking (used in <textarea> previews). (default: false)
GettextDomains:
Allows to add more gettext domains to look in for translations.
ShowFullListInSelectIdForServerRoles:
Define the server roles for which the whole list should appear in SelectId
<select> widgets (instead of the last visited objects).
UseBalloonHelp:
Define if the site should provide balloon helps on forms.
(default: true)
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)
UseHTTPS:
Define if the site should switch to HTTPS when user logs in.
(default: false)
UseTablesForFormLayout:
Define if the site should render forms using tables for the layout. This
is bad since tables were only intended for tabular datas but alternatives
may have problems in obsolete browsers. (default: false)
WebDirectoryPath:
Define an additional path where to look for .py files after site
DocumentRoot and before Glasnost-wide WebDirectoryPath.
It is also possible to define custom modules to use for different server roles
with:
%(serverRole)s-web = ...
Exemple: articles-web = lyonarticles
Per server options
------------------
OnlyForDispatchers
ServerHostName
ServerPort
Gateway specific option
-----------------------
PublicPort:
Public port of the gateway (eg 8000), which is redirected by the firewall
to the real ServerPort of the gateway (eg 8001).