# 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 $cfg{DefaultUrlHost} = 'http://your.domain.com'; # cgi-bin URL path for TWiki e.g. /twiki/bin $cfg{ScriptUrlPath} = '/twiki/bin'; # Attachments URL path e.g. /twiki/pub $cfg{PubUrlPath} = '/twiki/pub'; # Attachments store file path (not URL), must match /twiki/pub e.g. # /usr/local/twiki/pub $cfg{PubDir} = '/home/httpd/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 $cfg{TemplateDir} = '/home/httpd/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. $cfg{DataDir} = '/home/httpd/twiki/data'; # TWiki.cfg will use this path to default where to put log files, unless # you override individual paths here. $cfg{LogDir} = $cfg{DataDir}; $TWiki::cfg{Password} = '4AUsbL2rrOIk6'; $TWiki::cfg{Site}{Lang} = 'en'; $TWiki::cfg{LogFileName} = 'c:/twiki/data/log%DATE%.txt'; $TWiki::cfg{ConfigurationLogName} = 'c:/twiki/data/configurationlog.txt'; $TWiki::cfg{LocalesDir} = 'c:/twiki/locale'; $TWiki::cfg{WarningFileName} = 'c:/twiki/data/warn%DATE%.txt'; $TWiki::cfg{DebugFileName} = 'c:/twiki/data/debug.txt'; $TWiki::cfg{Htpasswd}{Encoding} = 'sha1'; $TWiki::cfg{Site}{FullLang} = 'en-us'; $TWiki::cfg{Site}{CharSet} = 'iso-8859-15'; $TWiki::cfg{DataDir} = 'c:/twiki/data'; $TWiki::cfg{PubDir} = 'c:/twiki/pub'; $TWiki::cfg{TemplateDir} = 'c:/twiki/templates'; $TWiki::cfg{DefaultUrlHost} = 'http://205.205.247.11/'; $TWiki::cfg{SafeEnvPath} = '/cygdrive/c/cygwin/bin;/cygdrive/c/Windows/system32'; $TWiki::cfg{Site}{LocaleRegexes} = 0; $TWiki::cfg{DisplayTimeValues} = 'servertime'; $TWiki::cfg{Sessions}{Dir} = 'c:/twiki/tmp'; $TWiki::cfg{RCS}{infoCmd} = 'rlog -x,v -r%REVISION|N% %FILENAME|F%'; $TWiki::cfg{RCS}{initTextCmd} = 'rcs -x,v -q -i -t-none -ko %FILENAME|F%'; $TWiki::cfg{RCS}{initBinaryCmd} = 'rcs -x,v -q -i -t-none -kb %FILENAME|F%'; $TWiki::cfg{RCS}{diffCmd} = 'rcsdiff -x,v -q -w -B -r%REVISION1|N% -r%REVISION2|N% -ko --unified=%CONTEXT|N% %FILENAME|F%'; $TWiki::cfg{RCS}{coCmd} = 'co -x,v -q -p%REVISION|N% -ko %FILENAME|F%'; $TWiki::cfg{RCS}{ciCmd} = 'ci -x,v -q -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F%'; $TWiki::cfg{RCS}{lockCmd} = 'rcs -x,v -q -l %FILENAME|F%'; $TWiki::cfg{RCS}{histCmd} = 'rlog -x,v -h %FILENAME|F%'; $TWiki::cfg{RCS}{FgrepCmd} = 'fgrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%'; $TWiki::cfg{RCS}{tmpBinaryCmd} = 'rcs -x,v -q -kb %FILENAME|F%'; $TWiki::cfg{RCS}{delRevCmd} = 'rcs -x,v -q -o%REVISION|N% %FILENAME|F%'; $TWiki::cfg{RCS}{unlockCmd} = 'rcs -x,v -q -u %FILENAME|F%'; $TWiki::cfg{RCS}{rlogDateCmd} = 'rlog -x,v -d%DATE|D% %FILENAME|F%'; $TWiki::cfg{RCS}{ciDateCmd} = 'ci -x,v -q -m%COMMENT|U% -t-none -d%DATE|D% -u -w%USERNAME|S% %FILENAME|F%'; $TWiki::cfg{RCS}{EgrepCmd} = 'egrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%'; $TWiki::cfg{SMTP}{MAILHOST} = 'email-srv.sqliaison.com'; $TWiki::cfg{SMTP}{SENDERHOST} = 'testserver'; $TWiki::cfg{StoreImpl} = 'RcsLite'; $TWiki::cfg{LoginManager} = 'TWiki::Client::TemplateLogin'; 1;