Difference: TWikiDocumentation (7 vs. 8)

Revision 82000-02-03 - PeterThoeny

Line: 223 to 223
 
  • 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 .
Changed:
<
<
  • 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/ . 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:
Changed:
<
<
    • 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.
Changed:
<
<
    • 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 )
Changed:
<
<
    • 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:
Line: 409 to 411
 -- PeterThoeny - 01 Sep 1999
-- PeterThoeny - 29 Sep 1999
-- PeterThoeny - 14 Jan 2000
Added:
>
>
-- PeterThoeny - 02 Feb 2000
 
This site is powered by the TWiki collaboration platformCopyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiDocumentation.