The distributed LocalSite.cfg.txt in 4.0.3 uses incorrect syntax, so a straightforward edit of the file will not produce a working TWiki. For example:
$TWiki::$cfg{DefaultUrlHost} = 'http://your.domain.com';
The $cfg is wrong, it should be cfg. The corrected line would be:
$TWiki::cfg{DefaultUrlHost} = 'http://your.domain.com';
This same error is on every line that attempts to set a configuration variable. Note that the last such line has 2 incorrect references:
$TWiki::$cfg{LogDir} = $TWiki::$cfg{DataDir};
Both the left and right hand sides are incorrect.
Yes. That should be fixed.
I do not see this as a bug demanding a 4.0.4 release because the file is in reality not used for anything. Configure creates a fresh new
LocalSite.cfg when you run it the first time. So I doubt many will ever notice. But it should be fixed and it should be listed in Known Problems. Hotfix is not really needed either.
--
KJL
But the installation docs are not clear about this.
INSTALL.html
says (step 5): Create the file
/twiki/bin/LocalLib.cfg
. Because the
txt
file is distributed it looks like I should rename
LocalSite.cfg.txt
to
LocalSite.cfg
(I believe this was the procedure once).
AC
Sorry, got
LocalSite
and
LocalLib
mixed up.
AC
Release in 4.0.4. Closing
KJL