|
- Edit the file
twiki/bin/wikicfg.pm and set the variables at the beginning of the file to your needs.
- Make sure RCS is installed. Set
$rcsDir in twiki/bin/wikicfg.pm to mach the location of your RCS binaries.
- Point your browser at https://your.domain.com/twiki/bin/view
and start TWiki-ing away!
|
|
> > |
- Using your browser, edit the TWikiPreferences topic in the TWiki.TWiki web to set the WIKIWEBMASTER email address, the WEBCOPYRIGHT message and other preferences.
|
|
- Note in case the cgi scripts must have a file extension like
.pl or .cgi :
- Add the extension to all the scripts (except for the
.pm ones) in twiki/bin
- Edit
wikicfg.pm and set the file extension in the $scriptSuffix variable.
- If you use
.htaccess , edit the file and add the file extension to edit , view , preview , etc.
|
|
< < |
- Note in case the cgi scripts are not running as user
nobody : The *,v RCS repository files delivered with the installation package are locked by user nobody . In case the user is different (e.g. www-data ), it is not possible to check in files, this has the effect that the topic version number does not increase when saving a topic. In this case you need to unlock all repository files and lock them as user www-data (check the rcs man pages), or simply delete all the repository files. A simple way to switch the locker of the RCS files is to use sed: for f in *,v; do sed 's/nobody/www-data/' $f > x; mv x $f; done
|
> > |
- Note in case the cgi scripts are not running as user
nobody : The *,v RCS repository files delivered with the installation package are locked by user nobody . In case the user is different (e.g. www-data ), it is not possible to check in files, this has the effect that the topic version number does not increase when saving a topic. In this case you need to unlock all repository files and lock them as user www-data (check the rcs man pages), or simply delete all the repository files. A simple way to switch the locker of the RCS files is to use sed: for f in *,v; do sed 's/nobody\:/www-data\:/' $f > x; mv x $f; done
|
|
- Security issue: Directories
twiki/data , twiki/templates and all its subdirectories should be set so that they are not visible as a URL. (Alternatively, move the directries to a place where they are not visible, and change the variables in twiki/bin/wikicfg.pm accordingly)
|
|
< < | |
> > |
- Enable email notification of topic changes, Notification of Changes has more. Using your browser, edit also the WebNotify topic in all webs and set the users you want to notify.
|
|
- Optional: You can add new rendering rules or new %VARIABLES%. To insure an easy upgrade of TWiki it is recommended to do this customization in
twiki/bin/wikicfg.pm , not twiki/bin/wiki.pm .
|