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 hostname options
--------------------
It is possible to set some general options to apply only when processing
some host:
[www.example.com]
UseHTTPS = false
The available options are:
- CacheFiles
- ShowFullListInSelectIdForServerRoles
- UseBalloonHelp
- UseHTTPS
- UseTablesForFormLayout
- WebDirectoryPath (if set the WebDirectoryPath from [Misc] is chained)
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
------------------
ServerHostName
ServerPort
OnlyForDispatchers