• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3654: Remove lib/LocalSite.cfg.txt

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   patch 4.1.2

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I just did a new install of TWiki 4.1.1 on a SuSE Linux server and was surprised that the page view showed up with the classic skin. Even adding a ?skin=pattern did not change that. It turned out that I had not set the {TemplatePath} was not set.

Question: Why is there are {TemplateDir} and a {TemplatePath} settings? What is the difference? {TemplatePath} seems to override {TemplateDir}.

Suggestion: Move all major path settings to the ""General path settings" section. Specifically those that need to be changed in a new installation:

  • {Htpasswd}{FileName}
  • {ConfigurationLogName}
  • {DebugFileName}
  • {WarningFileName}
  • {LogFileName}
  • {TemplatePath}
  • {MimeTypesFileName}
  • {RegistrationApprovals}

-- TWiki:Main/PeterThoeny - 18 Feb 2007

Hold hold hold. The TemplatePath is the new setting that Thomas defined and is an EXPERT setting noone should never need to touch unless they are very advanced.

It contains the TemplatePath setting. If you updated this setting you for sure goofed up something.

You should not have to move htpasswd file in a normal installation.

You should not have to change config log position. Why is this even a setting in the first place???

Debug filename? Why should a newbie want to move that?

Log filenames - same thing - no need to move these around. They live well in the default.

MimeTypesFileName. Why should this be moved around?

RegistrationApprovals. Why should anyone move that around.

We should not move these to the General Path settings. None of them. If people just leave them alone, TWiki will work much better.

We have far too many silly settings in the TWiki configure and should rather remove some than making it even more difficult to be a newbie.

How did you end up with TemplatePath not set in the first place?

-- TWiki:Main.KennethLavrsen - 18 Feb 2007

I understand now how the settings are defined, such as $TWiki::cfg{LogFileName} = '$TWiki::cfg{DataDir}/log%DATE%.txt'; so that you never need to touch those settings. However, this is not the case in my installation, it contained $TWiki::cfg{LogFileName} = '/home/httpd/twiki/log%DATE%.txt';, e.g. had the expanded data dir of the default distribution. It did not match my env, so a I had to change all settings. Here is what I did:

  • Copy lib/LocalSite.cfg.txt to lib/LocalSite.cfg
  • Run configure, changed settings in "general path settings"
  • Run view, got the classic skin
  • Run configure again, found out that there are many incorrect settings
  • Fixed all settings to my env until TWiki run properly.

It looks like at some point '$TWiki::cfg{DataDir}/etc...' in config values got expanded to '/home/httpd/twiki/data/etc...'. I checked LocalSite.cfg, it contains many settings, also those that I did not touch:

# 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://www.example.com';

# cgi-bin URL path for TWiki e.g. /twiki/bin
$TWiki::cfg{ScriptUrlPath} = '/intra';

# Attachments URL path e.g. /twiki/pub
$TWiki::cfg{PubUrlPath} = '/twikipub';

# Attachments store file path (not URL), must match /twiki/pub e.g.
# /usr/local/twiki/pub
$TWiki::cfg{PubDir} = '/home/someuser/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} = '/home/someuser/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} = '/home/someuser/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} = '/home/someuser/twiki/locale';
$TWiki::cfg{TempfileDir} = '/tmp/twiki';
$TWiki::cfg{ScriptSuffix} = '';
$TWiki::cfg{OS} = 'UNIX';
$TWiki::cfg{DetailedOS} = 'linux';
$TWiki::cfg{Password} = 'Zuy95njOB3aEA';
$TWiki::cfg{UseClientSessions} = 0;
$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::ApacheLogin';
$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} = 0;
$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.';
$TWiki::cfg{PasswordManager} = 'TWiki::Users::HtPasswdUser';
$TWiki::cfg{MinPasswordLength} = 5;
$TWiki::cfg{Htpasswd}{FileName} = '/home/someuser/twiki/data/.htpasswd';
$TWiki::cfg{Htpasswd}{Encoding} = 'crypt';
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
$TWiki::cfg{Register}{HidePasswd} = 1;
$TWiki::cfg{Register}{NeedVerification} = 0;
$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} = '';
$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} = '/home/someuser/twiki/data/configurationlog.txt';
$TWiki::cfg{DebugFileName} = '/home/someuser/twiki/data/debug.txt';
$TWiki::cfg{WarningFileName} = '/home/someuser/twiki/data/warn%DATE%.txt';
$TWiki::cfg{LogFileName} = '/home/someuser/twiki/data/log%DATE%.txt';
$TWiki::cfg{Languages}{ru}{Enabled} = 1;
$TWiki::cfg{Languages}{sv}{Enabled} = 1;
$TWiki::cfg{Languages}{'zh-tw'}{Enabled} = 1;
$TWiki::cfg{Languages}{cs}{Enabled} = 1;
$TWiki::cfg{Languages}{'zh-cn'}{Enabled} = 1;
$TWiki::cfg{Languages}{es}{Enabled} = 1;
$TWiki::cfg{Languages}{nl}{Enabled} = 1;
$TWiki::cfg{Languages}{pl}{Enabled} = 1;
$TWiki::cfg{Languages}{fr}{Enabled} = 1;
$TWiki::cfg{Languages}{da}{Enabled} = 1;
$TWiki::cfg{Languages}{de}{Enabled} = 1;
$TWiki::cfg{Languages}{pt}{Enabled} = 1;
$TWiki::cfg{Languages}{it}{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} = 493;
$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} = '/home/httpd/twiki/pub/_work_areas';
$TWiki::cfg{EnableHierarchicalWebs} = 0;
$TWiki::cfg{SystemWebName} = 'TWiki';
$TWiki::cfg{TrashWebName} = 'Trash';
$TWiki::cfg{UsersWebName} = 'Main';
$TWiki::cfg{WebMasterEmail} = 'peter@thoeny.org';
$TWiki::cfg{WebMasterName} = 'Peter Thoeny';
$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} = '/home/someuser/twiki/templates/$web/$name.$skin.tmpl, /home/someuser/twiki/templates/$name.$skin.tmpl, /home/someuser/twiki/templates/$web/$name.tmpl, /home/someuser/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)';
$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} = '/home/someuser/twiki/data/mime.types';
$TWiki::cfg{RegistrationApprovals} = '/home/someuser/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{PluginsOrder} = 'SpreadSheetPlugin';
1;

Note: /home/someuser/twiki is an obfuscated path, actuall path is something else than the default /home/httpd/twiki.

It looks like a new bug is lurking somewhere. I suggest to handle this as a bug, because the system works as designed if $TWiki::cfg{...} in the value fields are left alone, and if untouched settings are not copied to LocalSite.cfg.

I changed the summary to reflect the new scope.

-- TWiki:Main.PeterThoeny - 19 Feb 2007

'$TWiki:cfg{}' in a string (single quoted) appears as the variable in configure, allowing you to cross-reference other $TWiki::cfg settings. When LocalSite.cfg is saved, this reference is expanded to the full path. The next time configure is loaded, the string that was saved is compared against the default, and marked as "different" if it differs.

When you copied LocalSite.cfg.txt to LocalSite.cfg, you were basically telling configure the configuration you specifically wanted to use. This defeats configure when it attempts to guess the correct paths (you have just told it what you think the correct paths are). configure also works hard to retain paths implied by those settings, to avoid causing grief for upgraders. This includes the logfile paths.

Because you had defined the DataDir in LocalSite.cfg, configure assumed this was your chosen non-default, and used that path to complete the settings for the log directory, by expanding $TWiki::cfg{DataDir}. These paths were then marked as "different" because they have the whole path recovered from LocalSite.cfg, and not the $TWiki::cfg{DataDir} shorthand (as used in TWiki.spec), in them. So when they come to be saved, the entire path you specified by implication in LocalSite.cfg was saved.

configure has a hard job balancing out the requirements of installers, upgraders, and existing users. It tries very hard to maintain old settings from a manually created LocalSite.cfg, even to the extent of freezing fixed paths implied by that configuration, as described above. We could:

  1. Ensure that LocalLib.cfg.txt always contains a fully valid configuration, but this would be a PITA to maintain, so instead we could
  2. make configure check the path against the expanded default on every run, and revert default paths to the $TWiki::cfg syntax. But the low frequency of this use-case suggests that
  3. removing LocalSite.cfg.txt from the repository and the release may be a simpler solution.

If you had manually edited LocalSite.cfg and corrected the paths before you ran configure, then the corrected paths would have been copied into the relevant places, and your problem would not have appeared.

Since copying LocalSite.cfg.txt to LocalSite.cfg is not recommended by the installation instructions, I am dropping this to Low priority.

CC

In this case I suggest to ship a LocalSite.cfg.txt with this simple content:

# 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.
#
# Use 'LocalLib.cfg' in the 'bin' directory to configure non-standard
# locations for the 'lib' directory or Perl modules.
#
# The following are the most commonly used settings. To set, uncomment and 
# set the value. See TWiki.cfg to copy across the other (seldom changed) 
# settings.
# 
# # URL for TWiki host e.g. http://myhost.com:123
# $TWiki::cfg{DefaultUrlHost} = 'http://your.domain.com';
# 
# # 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} = '/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
# $TWiki::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.
# $TWiki::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.
# $TWiki::cfg{LogDir} = $TWiki::cfg{DataDir};
# 
# 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'.

1;

This is a usability issue that might turn off evaluators. I am setting this to high prio so that this simple change gets into the next patch release.

-- TWiki:Main.PeterThoeny - 19 Feb 2007

"usability issue that might turn off evaluators" ??????

No way. The reason you got into trouble was because you did not follow the installation instructions. You copied the LocalSite.cfg.txt to LocalSite.cfg instead of doing what it says to do in the INSTALL.html which evaluators will do.

In fact I have proposed for a long time to remove LocalSite.cfg.txt from the installation. It causes nothing but trouble. It is not maintained. It does not help anyone.

The only reason why it has been needed was because the configure script had too high demands on CPAN and Perl version. And for 4.1.2 I have been addressing both issues. Configure should be able to run on a standard Perl 5.6.1 / Apache 1.3 in a Red Hat 7.3 and so should Twiki itself. This means that anyone should be able to run configure. I think a good principle should be that the CPAN and Perl requirement for configure should always be equal or lower then TWiki itself so that you always run configure when you install TWiki.

I do not know if you have tried configure in the current Patch04x01 branch without a LocalSite.cfg.

You should. It works very well now!

It can get better. But we have taken a very good step in the right direction with 4.1.2. When you run configure in 4.1.2 you will only be able to setup few settings and unless you insist on installing TWiki is a non standard way then configure guesses all the directories 100% correct in the first pass.

I really think that LocalSite.cfg.txt should be removed from the default zip starting from 4.1.2 where configure will run on same Perl level as TWiki itself.

-- TWiki:Main.KennethLavrsen - 19 Feb 2007

I am fine with removing LocalSite.cfg.txt from the distro in 4.1.2. In return, update the installation docs with a note how to setup TWiki without configure.

-- TWiki:Main.PeterThoeny - 21 Feb 2007

To target such an enhancement to INSTALL.html - can you draw the picture of the typical installer who will be forced to install without configure.

I have the feeling that you did it without because of habbit because you thought it would be faster being an old expert.

But I can imagine that there are cases where you need to install without because there may be cases where configure will not run for one reason or another.

How to? I assume the method is then to copy TWiki.spec to LocalSite.cfg and walk through a list of "must set" parameters that should be relatively easy to identify. But I would like to understand the scenarios where the manual method is needed to make sure that the list of essential settings is complete.

-- TWiki:Main.KennethLavrsen - 21 Feb 2007

I am not aware of a situation where you cannot run configure, but there might well be some, such as with non-standard directory structure, or if there is a third party installer that generates the file if needed.

Here is the recommended text for the installation notes:

If for some reason you can't, or don't want to, use configure to manage your site configuration, you can manually create a LocalSite.cfg file in the twiki/lib directory. LocalSite.cfg overrides TWiki.spec, so there is no risk of your settings being overwritten when you upgrade TWiki. At least the following settings need to be copied over from TWiki.spec: $TWiki::cfg{DefaultUrlHost}, $TWiki::cfg{ScriptUrlPath}, $TWiki::cfg{PubUrlPath}, $TWiki::cfg{PubDir}, $TWiki::cfg{TemplateDir}. Additonal settings can be copied if needed. Modify those settings to reflect your environment. The last line of LocalSite.cfg must contain these two characters: 1;

I changed the summary to reflect the change in scope.

-- TWiki:Main.PeterThoeny - 23 Feb 2007

I have written and tested a method where an installer that cannot run configure can copy TWiki.conf to LocalSite.cfg and get TWiki running this way.

It is in the TWikiInstallationGuide which the build script uses to create INSTALL.html when you build a Twiki release.

So I can set this as waiting for release.

-- TWiki:Main.KennethLavrsen - 03 Mar 2007

Closed with release of 4.1.2

KJL

ItemTemplate
Summary Remove lib/LocalSite.cfg.txt
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.1.1
SVN Range TWiki-4.1.1, Fri, 16 Feb 2007, build 12896
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:13034 TWikirev:13035
TargetRelease patch
ReleasedIn 4.1.2
Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2007-03-04 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback