216 lines
10 KiB
INI
216 lines
10 KiB
INI
# Example site-specific configuration file for TWiki, held in 'lib' directory.
|
|
#
|
|
# This is distributed as LocalSite.cfg.txt - if for some reason you can't,
|
|
# or don't want to, use =configure= to manage your site configuration, you can
|
|
# copy this file to LocalSite.cfg edit it manually.
|
|
#
|
|
# LocalSite.cfg overrides TWiki.cfg, so there is no risk of your settings
|
|
# being overwritten when you upgrade.
|
|
#
|
|
# Only the most commonly used settings are listed in LocalSite.cfg.txt
|
|
# See TWiki.cfg to copy across the other (seldom changed) settings
|
|
#
|
|
# Use 'LocalLib.cfg' in the 'bin' directory to configure non-standard
|
|
# locations for the 'lib' directory or Perl modules.
|
|
#
|
|
|
|
# NOTE: If your server is running Microsoft Windows, paths should
|
|
# normally be written as "c:/foo" not "c:\foo" (which doesn't do what
|
|
# you may think it does). You can use '\' without problems inside
|
|
# single quotes, e.g. 'c:\foo'.
|
|
|
|
# If LocalSite.cfg is used (and it _should_ be), then _all_ the
|
|
# following paths muct be defined.
|
|
|
|
# URL for TWiki host e.g. http://myhost.com:123
|
|
$TWiki::cfg{DefaultUrlHost} = 'http://wiki.tdwg.org';
|
|
|
|
# cgi-bin URL path for TWiki e.g. /twiki/bin
|
|
$TWiki::cfg{ScriptUrlPath} = '/twiki/bin';
|
|
|
|
# Attachments URL path e.g. /twiki/pub
|
|
$TWiki::cfg{PubUrlPath} = '/twiki/pub';
|
|
|
|
# Attachments store file path (not URL), must match /twiki/pub e.g.
|
|
# /usr/local/twiki/pub
|
|
$TWiki::cfg{PubDir} = '/var/www/html/wiki.tdwg.org/twiki/pub';
|
|
|
|
# SECURITY NOTE: Directories =twiki/data= , =twiki/templates= and all their
|
|
# subdirectories should be set so that they are _not_ visible through
|
|
# URLs. (Alternatively, move the directories to a place where they are
|
|
# not visible, and set the paths here as appropriate)
|
|
|
|
# Template directory e.g. /usr/local/twiki/templates
|
|
$TWiki::cfg{TemplateDir} = '/var/www/html/wiki.tdwg.org/twiki/templates';
|
|
|
|
# Topic files store (file path not URL) e.g. /usr/local/twiki/data
|
|
# TWiki will use this path to base other defaults, such as the location
|
|
# of password files.
|
|
$TWiki::cfg{DataDir} = '/var/www/html/wiki.tdwg.org/twiki/data';
|
|
|
|
# TWiki.cfg will use this path to default where to put log files, unless
|
|
# you override individual paths here.
|
|
$TWiki::cfg{LogDir} = $TWiki::cfg{DataDir};
|
|
$TWiki::cfg{LocalesDir} = '/var/www/html/wiki.tdwg.org/twiki/locale';
|
|
$TWiki::cfg{PassthroughDir} = '/tmp';
|
|
$TWiki::cfg{ScriptSuffix} = '';
|
|
$TWiki::cfg{OS} = 'UNIX';
|
|
$TWiki::cfg{DetailedOS} = 'linux';
|
|
$TWiki::cfg{Password} = 'Mb1Uk7MoNGFUQ';
|
|
$TWiki::cfg{UseClientSessions} = 1;
|
|
$TWiki::cfg{Sessions}{Dir} = '/tmp';
|
|
$TWiki::cfg{Sessions}{ExpireAfter} = 21600;
|
|
$TWiki::cfg{Sessions}{IDsInURLs} = 0;
|
|
$TWiki::cfg{Sessions}{UseIPMatching} = 1;
|
|
$TWiki::cfg{Sessions}{MapIP2SID} = 0;
|
|
$TWiki::cfg{LoginManager} = 'TWiki::Client::TemplateLogin';
|
|
#$TWiki::cfg{LoginManager} = 'TWiki::Client::Typo3TemplateLogin';
|
|
$TWiki::cfg{Typo3Url} = 'http://www.tdwg.org/';
|
|
|
|
# RSP 01/08/2007: disable SSO for now to fix problem with OJS login
|
|
#$TWiki::cfg{CookieDomain} = '.tdwg.org';
|
|
#$TWiki::cfg{CookieId} = 'fe_typo_user';
|
|
$TWiki::cfg{CookieDomain} = 'wiki.tdwg.org';
|
|
$TWiki::cfg{CookieId} = 'TWiki';
|
|
# ----
|
|
|
|
$TWiki::cfg{LoginNameFilterIn} = '^[^\\s\\*?~^\\$@%`"\'&;|<>\\x00-\\x1f]+$';
|
|
$TWiki::cfg{DefaultUserLogin} = 'guest';
|
|
$TWiki::cfg{DefaultUserWikiName} = 'TWikiGuest';
|
|
$TWiki::cfg{AdminUserWikiName} = 'TWikiAdminGroup';
|
|
$TWiki::cfg{SuperAdminGroup} = 'TWikiAdminGroup';
|
|
$TWiki::cfg{UsersTopicName} = 'TWikiUsers';
|
|
$TWiki::cfg{MapUserToWikiName} = 1;
|
|
$TWiki::cfg{AuthScripts} = 'attach,edit,manage,rename,save,upload,viewauth,rdiffauth';
|
|
|
|
$TWiki::cfg{AuthRealm} = 'Enter your TWiki.LoginName. (Typically First name and last name, no space, no dots, capitalized, e.g. !JohnSmith, unless you chose otherwise). Visit TWiki.TWikiRegistration if you do not have one.';
|
|
|
|
# IMPLEMENTED BY RSP ON 29-Jan-2007
|
|
$TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapPasswdUser';
|
|
$TWiki::cfg{LdapPasswd}{Host} = 'falcon.tdwg.org';
|
|
$TWiki::cfg{LdapPasswd}{AdminDN} = 'cn=Admin,dc=falcon,dc=tdwg,dc=gbif,dc=org';
|
|
$TWiki::cfg{LdapPasswd}{AdminPwd} = 'tdwg';
|
|
$TWiki::cfg{LdapPasswd}{BaseDN} = 'ou=people,dc=falcon,dc=tdwg,dc=gbif,dc=org';
|
|
$TWiki::cfg{LdapPasswd}{Encoding} = 'sha1';
|
|
|
|
$TWiki::cfg{MinPasswordLength} = 1;
|
|
$TWiki::cfg{Htpasswd}{FileName} = '/var/www/html/wiki.tdwg.org/twiki/data/.htpasswd';
|
|
$TWiki::cfg{Htpasswd}{Encoding} = 'crypt';
|
|
|
|
#$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
|
|
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::LdapTdwgUserMapping';
|
|
$TWiki::cfg{TdwgUserPageUrl} = 'http://www.tdwg.org/membership/list-of-users/?tx_newloginbox_pi3%5BshowUsername%5D=';
|
|
$TWiki::cfg{Register}{HidePasswd} = 1;
|
|
$TWiki::cfg{Register}{NeedVerification} = 1;
|
|
$TWiki::cfg{SafeEnvPath} = '/bin:/usr/bin';
|
|
$TWiki::cfg{DenyDotDotInclude} = 1;
|
|
$TWiki::cfg{AllowInlineScript} = 1;
|
|
$TWiki::cfg{UploadFilter} = '^(\\.htaccess|.*\\.(?i)(?:php[0-9s]?(\\..*)?|[sp]htm[l]?(\\..*)?|pl|py|cgi))$';
|
|
$TWiki::cfg{NameFilter} = '[\\s\\*?~^\\$@%`"\'&;|<>\\x00-\\x1f]';
|
|
$TWiki::cfg{AntiSpam}{EmailPadding} = 'REMOVE-THIS';
|
|
$TWiki::cfg{AntiSpam}{HideUserDetails} = 1;
|
|
$TWiki::cfg{AntiSpam}{RobotsAreWelcome} = 1;
|
|
$TWiki::cfg{Log}{view} = 1;
|
|
$TWiki::cfg{Log}{search} = 1;
|
|
$TWiki::cfg{Log}{changes} = 1;
|
|
$TWiki::cfg{Log}{rdiff} = 1;
|
|
$TWiki::cfg{Log}{edit} = 1;
|
|
$TWiki::cfg{Log}{save} = 1;
|
|
$TWiki::cfg{Log}{upload} = 1;
|
|
$TWiki::cfg{Log}{attach} = 1;
|
|
$TWiki::cfg{Log}{rename} = 1;
|
|
$TWiki::cfg{Log}{register} = 1;
|
|
$TWiki::cfg{ConfigurationLogName} = '/var/www/html/wiki.tdwg.org/twiki/data/configurationlog.txt';
|
|
$TWiki::cfg{DebugFileName} = '/var/www/html/wiki.tdwg.org/twiki/data/debug.txt';
|
|
$TWiki::cfg{WarningFileName} = '/var/www/html/wiki.tdwg.org/twiki/data/warn%DATE%.txt';
|
|
$TWiki::cfg{LogFileName} = '/var/www/html/wiki.tdwg.org/twiki/data/log%DATE%.txt';
|
|
$TWiki::cfg{Languages}{'zh-tw'}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{nl}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{'zh-cn'}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{de}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{cs}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{da}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{sv}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{es}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{it}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{pl}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{ru}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{fr}{Enabled} = 1;
|
|
$TWiki::cfg{Languages}{pt}{Enabled} = 1;
|
|
$TWiki::cfg{DisplayTimeValues} = 'gmtime';
|
|
$TWiki::cfg{Site}{Locale} = 'en_US.ISO-8859-1';
|
|
$TWiki::cfg{Site}{LocaleRegexes} = 1;
|
|
$TWiki::cfg{UpperNational} = '';
|
|
$TWiki::cfg{LowerNational} = '';
|
|
$TWiki::cfg{Site}{CharSet} = 'iso-8859-15';
|
|
$TWiki::cfg{Site}{Lang} = 'en';
|
|
$TWiki::cfg{Site}{FullLang} = 'en-us';
|
|
$TWiki::cfg{PluralToSingular} = 1;
|
|
$TWiki::cfg{StoreImpl} = 'RcsWrap';
|
|
$TWiki::cfg{RCS}{ExtOption} = '';
|
|
$TWiki::cfg{RCS}{dirPermission} = 509;
|
|
$TWiki::cfg{RCS}{filePermission} = 420;
|
|
$TWiki::cfg{RCS}{asciiFileSuffixes} = '\\.(txt|html|xml|pl)$';
|
|
$TWiki::cfg{RCS}{EgrepCmd} = '/bin/egrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
|
|
$TWiki::cfg{RCS}{FgrepCmd} = '/bin/fgrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
|
|
$TWiki::cfg{RCS}{initBinaryCmd} = '/usr/bin/rcs -i -t-none -kb %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{initTextCmd} = '/usr/bin/rcs -i -t-none -ko %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{tmpBinaryCmd} = '/usr/bin/rcs -kb %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{ciCmd} = '/usr/bin/ci -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{ciDateCmd} = '/usr/bin/ci -m%COMMENT|U% -t-none -d%DATE|D% -u -w%USERNAME|S% %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{coCmd} = '/usr/bin/co -p%REVISION|N% -ko %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{histCmd} = '/usr/bin/rlog -h %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{infoCmd} = '/usr/bin/rlog -r%REVISION|N% %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{rlogDateCmd} = '/usr/bin/rlog -d%DATE|D% %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{diffCmd} = '/usr/bin/rcsdiff -q -w -B -r%REVISION1|N% -r%REVISION2|N% -ko --unified=%CONTEXT|N% %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{lockCmd} = '/usr/bin/rcs -l %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{unlockCmd} = '/usr/bin/rcs -u %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{breaklockCmd} = '/usr/bin/rcs -u -M %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{delRevCmd} = '/usr/bin/rcs -o%REVISION|N% %FILENAME|F%';
|
|
$TWiki::cfg{RCS}{WorkAreaDir} = '/var/www/html/wiki.tdwg.org/twiki/pub/_work_areas';
|
|
$TWiki::cfg{EnableHierarchicalWebs} = 1;
|
|
$TWiki::cfg{SystemWebName} = 'TWiki';
|
|
$TWiki::cfg{TrashWebName} = 'Trash';
|
|
$TWiki::cfg{UsersWebName} = 'Main';
|
|
$TWiki::cfg{WebMasterEmail} = 'ricardo@tdwg.org';
|
|
$TWiki::cfg{WebMasterName} = 'TWiki Administrator';
|
|
$TWiki::cfg{MailProgram} = '/usr/sbin/sendmail -t -oi -oeq';
|
|
$TWiki::cfg{SMTP}{MAILHOST} = '';
|
|
$TWiki::cfg{SMTP}{SENDERHOST} = '';
|
|
$TWiki::cfg{SMTP}{Username} = '';
|
|
$TWiki::cfg{SMTP}{Password} = '';
|
|
$TWiki::cfg{RemoveImgInMailnotify} = 1;
|
|
$TWiki::cfg{NotifyTopicName} = 'WebNotify';
|
|
$TWiki::cfg{SMTP}{Debug} = 0;
|
|
$TWiki::cfg{PROXY}{HOST} = '';
|
|
$TWiki::cfg{PROXY}{PORT} = '';
|
|
$TWiki::cfg{Stats}{TopViews} = 10;
|
|
$TWiki::cfg{Stats}{TopContrib} = 10;
|
|
$TWiki::cfg{Stats}{TopicName} = 'WebStatistics';
|
|
$TWiki::cfg{TemplatePath} = '/var/www/html/wiki.tdwg.org/twiki/templates/$web/$name.$skin.tmpl, /var/www/html/wiki.tdwg.org/twiki/templates/$name.$skin.tmpl, /var/www/html/wiki.tdwg.org/twiki/templates/$web/$name.tmpl, /var/www/html/wiki.tdwg.org/twiki/templates/$name.tmpl, $web.$skinSkin$nameTemplate, TWiki.$skinSkin$nameTemplate, $web.$nameTemplate, TWiki.$nameTemplate';
|
|
$TWiki::cfg{LinkProtocolPattern} = '(file|ftp|gopher|https|http|irc|mailto|news|nntp|telnet|urn:lsid)';
|
|
$TWiki::cfg{SiteWebTopicName} = '';
|
|
$TWiki::cfg{SitePrefsTopicName} = 'TWikiPreferences';
|
|
$TWiki::cfg{LocalSitePreferences} = 'Main.TWikiPreferences';
|
|
$TWiki::cfg{HomeTopicName} = 'WebHome';
|
|
$TWiki::cfg{WebPrefsTopicName} = 'WebPreferences';
|
|
$TWiki::cfg{NumberOfRevisions} = 4;
|
|
$TWiki::cfg{ReplaceIfEditedAgainWithin} = 3600;
|
|
$TWiki::cfg{LeaseLength} = 3600;
|
|
$TWiki::cfg{LeaseLengthLessForceful} = 3600;
|
|
$TWiki::cfg{MimeTypesFileName} = '/var/www/html/wiki.tdwg.org/twiki/data/mime.types';
|
|
$TWiki::cfg{RegistrationApprovals} = '/var/www/html/wiki.tdwg.org/twiki/data/RegistrationApprovals';
|
|
$TWiki::cfg{Plugins}{CommentPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{EditTablePlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{InterwikiPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{PreferencesPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{SlideShowPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{SmiliesPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{SpreadSheetPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{TablePlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{TwistyPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{LinkOptionsPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{Plugins}{PublishWebPlugin}{Enabled} = 1;
|
|
$TWiki::cfg{PluginsOrder} = 'SpreadSheetPlugin';
|
|
1;
|