From: PeterThoeny Date: Thu, 3 Feb 2000 02:24:14 +0000 (+0000) Subject: none X-Git-Url: http://git.openafs.org/?p=openafs-wiki.git;a=commitdiff_plain;h=3125dc718e3d809f61a94ab05332b6780194cd0e none --- diff --git a/TWiki/TWikiDocumentation.mdwn b/TWiki/TWikiDocumentation.mdwn index bf9ec6a..e113854 100644 --- a/TWiki/TWikiDocumentation.mdwn +++ b/TWiki/TWikiDocumentation.mdwn @@ -319,17 +319,19 @@ These installation steps use Apache web server on Linux as an example. TWiki sho - Note in case cgi user is **_not_** `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` , or simply delete all the repository files. - 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) - 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` . -- Optional: If you are on a public server and you would like to authenticate users you need to rename file `.htaccess.txt` in the `twiki/bin` directory to `.htaccess` and change it to your needs. Consult the HTTP server documentation for details. +- Optional: If you are on a public server and you would like to authenticate users you need to rename file `.htaccess.txt` in the `twiki/bin` directory to `.htaccess` and change it to your needs. Consult the HTTP server documentation for details, an example site for Apache is at [http://info.mcs.kent.edu/system/web\_help/htaccess/](http://info.mcs.kent.edu/system/web_help/htaccess/) . **_Note:_** In case `.htaccess` does not have any effect you need to enable it: Add "AllowOverride All" to the Directory section of `access.conf` for your `twiki/bin` directory. - To create a new web: - - Use a topic name consisting of characters `A..Z` , `a..z` but **not** in [[WikiNotation]]. + - Use a name for the web consisting of characters `A..Z` , `a..z` but **not** in [[WikiNotation]]. - Create a new template directory under `twiki/templates` . - Create a new data directory under `twiki/data` and check the file permission of the directory. - - Copy the files [[TWikiUsers]].txt, [[WebHome]].txt, [[WebNotify]].txt, [[WebSearch]].txt, webcolor.inc, and weblist.inc from the `twiki/data/Main` directory to the new data directory. - - Make changes to webcolor.inc (unique color for web), and possibly also weblist.inc (web specific links on top). - - In case you need a web specific copyright notice (at the bottom), copy file webcopyright.inc from the `twiki/data` directory to the new data directory, and customize it. + - Copy the files `WebHome.txt` , `WebNotify.txt` , `WebSearch.txt` , `webcolor.inc` and `weblist.inc` from the `twiki/data/Main` directory to the new data directory. + - Change `webcolor.inc` to a color of your taste. The number represents the unique color for the web (consult an HTML book for colors.) **_Note:_** The file must not have a new line, just the number without a return. + - Customize `weblist.inc` (web specific links on top) if needed. + - Add the new web in `twiki/data/wikiwebs.inc` (web specific links on top) and `twiki/data/wikiwebtable.inc` (table of all webs at the end of the [[WbHome]] topics). + - In case you need a web specific copyright notice (at the bottom), copy file `webcopyright.inc` from the `twiki/data` directory to the new data directory, and customize it. - If needed, create customized templates in the new templates directory. (Non existing templates are inherited from `twiki/templates` ) - - If you want to use a category table, copy the three files twikicatitems.tmpl, twikicatedit.tmpl and twikicatview.tmpl from the `twiki/templates/Know` directory to the new templates directory, and customize it. The TWiki Category Table section has more. + - If you want to use a category table, copy the three files `twikicatitems.tmpl` , `twikicatedit.tmpl` and `twikicatview.tmpl` from the `twiki/templates/Know` directory to the new templates directory, and customize it. The TWiki Category Table section has more. Here are contents of directories with file permissions. Please note that this is for debugging reasons only and does not exactly reflect the distribution: @@ -477,4 +479,4 @@ directory `twiki/pub/icn/` : -rw-r--r-- 1 twiki t5 152 Mar 27 03:17 xls.gif -rw-r--r-- 1 twiki t5 144 Mar 27 03:17 zip.gif --- [[PeterThoeny]] - 22 Oct 1998
-- [[PeterThoeny]] - 18 Nov 1998
-- [[PeterThoeny]] - 11 Jan 1999
-- [[PeterThoeny]] - 20 Jan 1999
-- [[PeterThoeny]] - 06 Mar 1999
-- [[PeterThoeny]] - 27 Mar 1999
-- [[PeterThoeny]] - 02 Jun 1999
-- [[PeterThoeny]] - 14 Jun 1999
-- [[PeterThoeny]] - 23 Jun 1999
-- [[PeterThoeny]] - 01 Sep 1999
-- [[PeterThoeny]] - 29 Sep 1999
-- [[PeterThoeny]] - 14 Jan 2000
+-- [[PeterThoeny]] - 22 Oct 1998
-- [[PeterThoeny]] - 18 Nov 1998
-- [[PeterThoeny]] - 11 Jan 1999
-- [[PeterThoeny]] - 20 Jan 1999
-- [[PeterThoeny]] - 06 Mar 1999
-- [[PeterThoeny]] - 27 Mar 1999
-- [[PeterThoeny]] - 02 Jun 1999
-- [[PeterThoeny]] - 14 Jun 1999
-- [[PeterThoeny]] - 23 Jun 1999
-- [[PeterThoeny]] - 01 Sep 1999
-- [[PeterThoeny]] - 29 Sep 1999
-- [[PeterThoeny]] - 14 Jan 2000
-- [[PeterThoeny]] - 02 Feb 2000