TWiki Implementation Notes


TWiki is written in Perl 5 and uses also some shell commands. The current implementation runs best on a Unix machine, but it is also possible on Microsoft Windows. RCS (for revision control) must be installed on the system.

Directory Structure

Directory: Used for:
twiki/bin TWiki Perl scripts
twiki/bin/TWiki TWiki Perl modules
twiki/bin/TWiki/Plugins Plugins modules
twiki/pub Public files (FileAttachments, images)
twiki/data source text
twiki/templates HTML templates, used by TWiki scripts

Note: You could move the twiki/bin/TWiki library directory (including Plugins ) to twiki/lib/TWiki; the scripts look for a "." and "../lib" relative library path.

Files in twiki/bin

File:Sorted descending Used for:
viewfile Script to view an file attachment
view Script to view a topic ( the script )
upload Script that does file upload (FileAttachment) Main TWiki library
TWiki.cfg For initialization and configuration, used by
testenv Script to test CGI environment variables
statistics Script to create statistics topic
search Script that displays search results
save Script that saves a topic, called by preview
register Script to register new users
rdiff Script to see differences of topics
preview Script to preview topic after edit
oops Script that shows an OK or oops dialog
mailnotify Script called by cron job to notify users of changes
geturl Script to fetch URL data
edit Script to edit a topic
delete (not used yet)
attach Script that shows the attach file page (FileAttachment)
.htaccess.txt Authentication. Rename to .htaccess and customize if used

Files in twiki/bin/TWiki

File: Used for: Access control SMTP mail handling Plugin handling Preferences handling Search engine, used by Back-end storage, *.txt text file and *.txt,v RCS repository file handling

Files in twiki/bin/TWiki/Plugins

File: Used for: Default plugin Empty plugin, use to create your own

-- PeterThoeny - 03 Mar 2001

Edit | Attach | Watch | Print version | History: r43 | r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 2001-03-04 - PeterThoeny
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2022 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 at TWiki:TWiki.TWikiSystemRequirements.