# 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 # cgi-bin URL path for TWiki e.g. /twiki/bin # Attachments URL path e.g. /twiki/pub #Workaround GNU vs. BSD patch warning $TWiki::cfg{SafeEnvPath} = '/usr/local/bin:/bin:/usr/bin'; # Attachments store file path (not URL), must match /twiki/pub e.g. # /usr/local/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 # 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 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{DataDir} = '/site/users/ssl.sakura.nani.no/www/data/twiki/data'; $TWiki::cfg{Password} = '$2a$04$x8wJ....../e2mq.......4EYCsN4H0104mg/t4vZDpJr1rNdIbN2'; $TWiki::cfg{Site}{Lang} = 'en'; $TWiki::cfg{LocalesDir} = '/site/users/ssl.sakura.nani.no/www/data/twiki/locale'; $TWiki::cfg{DefaultUrlHost} = 'https://sakura.nani.no'; $TWiki::cfg{Site}{FullLang} = 'en-us'; $TWiki::cfg{PubDir} = '/site/users/ssl.sakura.nani.no/www/data/twiki/pub'; $TWiki::cfg{TemplateDir} = '/site/users/ssl.sakura.nani.no/www/data/twiki/templates'; $TWiki::cfg{Site}{CharSet} = 'iso-8859-15'; $TWiki::cfg{RCS}{FgrepCmd} = '/usr/bin/fgrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%'; $TWiki::cfg{RCS}{EgrepCmd} = '/usr/bin/egrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%'; $TWiki::cfg{LoginManager} = 'TWiki::Client::TemplateLogin'; $TWiki::cfg{Register}{NeedVerification} = 0; $TWiki::cfg{ScriptUrlPath} = 'https://sakura.nani.no/twiki/bin'; $TWiki::cfg{PubUrlPath} = 'https://sakura.nani.no/twiki/pub'; $TWiki::cfg{UseClientSessions} = 1; $TWiki::cfg{Sessions}{IDsInURLs} = 0; $TWiki::cfg{PasswordManager} = 'TWiki::Users::HtPasswdUser'; $TWiki::cfg{UseLocale} = 1; $TWiki::cfg{Site}{Locale} = 'no_NO.ISO8859-1'; $TWiki::cfg{Htpasswd}{Encoding} = 'plain'; 1;