summaryrefslogtreecommitdiff
path: root/TWiki/AppendixFileSystem.mdwn
blob: 7713b7e0de46a1d212eee8850b7971eb44d5dbf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
%TOC% %STARTINCLUDE% <a name="FileSystem"></a>

# <a name="Appendix_A_TWiki_File_System"> Appendix A: TWiki File System </a>

_Annotated listings of files included in the 01-Sep-2001 TWiki distribution_

## <a name="Overview"> Overview </a>

This Appendix contains directory and file listings, and individual file descriptions, for the full 01-Sep-2001 TWiki distribution package.

## <a name="Directory_Structure"> Directory Structure </a>

You can rename the root TWiki directory - `twiki` - to whatever you like by changing it in the `twiki.cfg` configuration file. However, to keep the current installation and future upgrades simple, you should leave the subdirectory structure intact:

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>Directory:</strong></th>
    <th bgcolor="#99CCCC"><strong>Files:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>twiki</code></td>
    <td align="center"> list </td>
    <td> Start-up info </td>
  </tr>
  <tr>
    <td><code>twiki/bin</code></td>
    <td align="center"> list </td>
    <td> Perl scripts </td>
  </tr>
  <tr>
    <td><code>twiki/lib</code></td>
    <td align="center"> list </td>
    <td> Configuration file, main library, Perl system modules, Plugins </td>
  </tr>
  <tr>
    <td><code>twiki/pub</code></td>
    <td align="center"> list </td>
    <td> Public files (e.g. images) and <span style="background:"><font color="">File Attachments</font></span><a href="http://LOCATION/FileAttachments">?</a> and their RCS histories </td>
  </tr>
  <tr>
    <td><code>twiki/data</code></td>
    <td align="center"> list </td>
    <td> Topic text (page content) and RCS histories </td>
  </tr>
  <tr>
    <td><code>twiki/templates</code></td>
    <td align="center"> list </td>
    <td> HTML templates, used by TWiki scripts </td>
  </tr>
</table>

## <a name="File_Descriptions"> File Descriptions </a>

A rundown of the individual files included in the current 01-Sep-2001 distribution, organized by TWiki root directories.

<a name="TWikiFiles"></a>

### <a name="Files_in_twiki_code_"> Files in `twiki` </a>

Application info and the current reference documentation. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>index.html</code></td>
    <td> A page with a link to first launch TWiki after install </td>
  </tr>
  <tr>
    <td><code>license.txt</code></td>
    <td> GNU General Public License and TWiki-specific info </td>
  </tr>
  <tr>
    <td><code>readme.txt</code></td>
    <td> General TWiki start-up info with relevant URLs </td>
  </tr>
  <tr>
    <td><code>TWikiDocumentation.html</code></td>
    <td> All documentation packaged as a single page </td>
  </tr>
  <tr>
    <td><code>TWikiHistory.html</code></td>
    <td> TWiki development timeline </td>
  </tr>
</table>

<a name="BinFiles"></a>

### <a name="Files_in_twiki_bin_code_"> Files in `twiki/bin` </a>

Perl CGI scripts. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>.htaccess.txt</code></td>
    <td> Authentication. Rename to .htaccess and customize if used </td>
  </tr>
  <tr>
    <td><code>attach</code></td>
    <td> Script that shows the attach file page (<span style="background:"><font color="">File Attachment</font></span><a href="http://LOCATION/FileAttachment">?</a>) </td>
  </tr>
  <tr>
    <td><code>edit</code></td>
    <td> Script to edit a topic </td>
  </tr>
  <tr>
    <td><code>geturl</code></td>
    <td> Script to fetch URL data </td>
  </tr>
  <tr>
    <td><code>installpasswd</code></td>
    <td> Script to install new password by admin </td>
  </tr>
  <tr>
    <td><code>mailnotify</code></td>
    <td> Script called by cron job to notify users of changes </td>
  </tr>
  <tr>
    <td><code>oops</code></td>
    <td> Script that shows an OK or oops dialog </td>
  </tr>
  <tr>
    <td><code>passwd</code></td>
    <td> Script to reset and change password </td>
  </tr>
  <tr>
    <td><code>preview</code></td>
    <td> Script to preview topic after edit </td>
  </tr>
  <tr>
    <td><code>rdiff</code></td>
    <td> Script to see differences of topics </td>
  </tr>
  <tr>
    <td><code>register</code></td>
    <td> Script to register new users </td>
  </tr>
  <tr>
    <td><code>rename</code></td>
    <td> Script to rename/move topics and move attachments </td>
  </tr>
  <tr>
    <td><code>save</code></td>
    <td> Script that saves a topic, called by preview </td>
  </tr>
  <tr>
    <td><code>search</code></td>
    <td> Script that displays search results </td>
  </tr>
  <tr>
    <td><code>statistics</code></td>
    <td> Script to create statistics topic </td>
  </tr>
  <tr>
    <td><code>testenv</code></td>
    <td> Script to test CGI environment variables </td>
  </tr>
  <tr>
    <td><code>upload</code></td>
    <td> Script that does file upload (<span style="background:"><font color="">File Attachment</font></span><a href="http://LOCATION/FileAttachment">?</a>) </td>
  </tr>
  <tr>
    <td><code>view</code></td>
    <td> Script to view a topic ( <strong>the</strong> script ) </td>
  </tr>
  <tr>
    <td><code>viewfile</code></td>
    <td> Script to view a file attachment </td>
  </tr>
</table>

<a name="LibFiles"></a>

### <a name="Files_under_twiki_lib_code_"> Files under `twiki/lib` </a>

The new `lib/TWiki/Plugins` directories contain configuration, library and function files, and [[TWikiPlugins]]. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>TWiki.cfg</code></td>
    <td> For configuration, used by <code>TWiki.pm</code></td>
  </tr>
  <tr>
    <td><code>TWiki.pm</code></td>
    <td> Main TWiki library </td>
  </tr>
  <tr>
    <td><code>TWiki/Access.pm</code></td>
    <td> Access control </td>
  </tr>
  <tr>
    <td><code>TWiki/Attach.pm</code></td>
    <td> Attachment handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Form.pm</code></td>
    <td> Form handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Func.pm</code></td>
    <td> Public functions that Plugins may use </td>
  </tr>
  <tr>
    <td><code>TWiki/Meta.pm</code></td>
    <td> Meta data in topics </td>
  </tr>
  <tr>
    <td><code>TWiki/Net.pm</code></td>
    <td> SMTP mail handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins.pm</code></td>
    <td> Plugin handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Prefs.pm</code></td>
    <td> Preferences handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Search.pm</code></td>
    <td> Search engine, used by wiki.pm </td>
  </tr>
  <tr>
    <td><code>TWiki/Store.pm</code></td>
    <td> Back-end storage, <code>*.txt</code> text file and <code>*.txt,v</code> RCS repository file handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins/DefaultPlugin.pm</code></td>
    <td> Handles some legacy rules </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins/EmptyPlugin.pm</code></td>
    <td> Empty plugin, use to create your own </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins/InterwikiPlugin.pm</code></td>
    <td> Use aliases as links for predefined URLs </td>
  </tr>
</table>

<a name="PubFiles"></a>

### <a name="Files_under_twiki_pub_code_"> Files under `twiki/pub` </a>

The `pub` directory stores data-related files, including images used by TWiki and [[FileAttachments]]. Attachments are stored in sub-directories created with the related topic name. _Partial file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>favicon.ico</code></td>
    <td> ICO file </td>
  </tr>
  <tr>
    <td><code>twikilogo.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo1.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo2.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo3.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo4.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo88x31</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>wikiHome.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>icn/_filetypes.txt</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>icn/bat.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>icn/bmp.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
  </tr>
  <tr>
    <td><code>TWiki/FileAttachment/Sample.txt</code></td>
    <td> TEXT file </td>
  </tr>
  <tr>
    <td><code>TWiki/FileAttachment/Smile.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/PreviewBackground/blankltgraybg.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/PreviewBackground/blankwhitebg.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/PreviewBackground/previewbg.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/WabiSabi/wabisabi.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>Know/IncorrectDllVersionW32PTH10DLL/W32PTH10.DLL</code></td>
    <td> DLL file </td>
  </tr>
</table>

<a name="DataFiles"></a>

### <a name="Files_under_twiki_data_code_"> Files under `twiki/data` </a>

TWiki page data stored as individual text files. Each active web has its own subdirectory. The TWiki distribution includes four start-up webs - `Main`, `TWiki`, `Know`, `Test` - with documentation and demo content, a `Trash` web, and a `_default` directory containing all topics required to start a new web. _Partial file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>.htpasswd</code></td>
    <td> Basic Authentication (htaccess) password file </td>
  </tr>
  <tr>
    <td><code>debug.txt</code></td>
    <td> Program messages useful for debugging </td>
  </tr>
  <tr>
    <td><code>mime.types</code></td>
    <td> Recognized file formats </td>
  </tr>
  <tr>
    <td><code>warning.txt</code></td>
    <td> Diagnostic messages for identifying problems </td>
  </tr>
  <tr>
    <td colspan="2"> _default directory can be copied to empty directory when creating new Webs </td>
  </tr>
  <tr>
    <td><code>_default/.changes</code></td>
    <td> Web-level record of topic changes </td>
  </tr>
  <tr>
    <td><code>_default/.mailnotify</code></td>
    <td> Web-level timstamp of last e-mail notification </td>
  </tr>
  <tr>
    <td><code>_default/WebChanges.txt</code></td>
    <td> Display most recent topic changes in web </td>
  </tr>
  <tr>
    <td><code>_default/WebChanges.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebHome.txt</code></td>
    <td> Default web home page </td>
  </tr>
  <tr>
    <td><code>_default/WebHome.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebIndex.txt</code></td>
    <td> Lists all topics in a web </td>
  </tr>
  <tr>
    <td><code>_default/WebIndex.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebNotify.txt</code></td>
    <td> Subscribe/unsubscribe to web changes email alert </td>
  </tr>
  <tr>
    <td><code>_default/WebNotify.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebPreferences.txt</code></td>
    <td> Web-level preference settings </td>
  </tr>
  <tr>
    <td><code>_default/WebPreferences.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebSearch.txt</code></td>
    <td> Web-level search options </td>
  </tr>
  <tr>
    <td><code>_default/WebSearch.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebStatistics.txt</code></td>
    <td> Generates web usage statistics </td>
  </tr>
  <tr>
    <td><code>_default/WebStatistics.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
  </tr>
</table>

<a name="TemplatesFiles"></a>

### <a name="Files_in_twiki_templates_code_"> Files in `twiki/templates` </a>

Templates used to control appearance of all rendered pages. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>attach.tmpl</code></td>
    <td> Attach file control screen </td>
  </tr>
  <tr>
    <td><code>attachagain.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>attachnew.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>changeform.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>changes.tmpl</code></td>
    <td> Displays <span style="background:"><font color="">Web Changes</font></span><a href="http://LOCATION/WebChanges">?</a> list of recently changed topics </td>
  </tr>
  <tr>
    <td><code>edit.iejs.tmpl</code></td>
    <td> Edit window with IE specific <nop>JavaScript </nop></td>
  </tr>
  <tr>
    <td><code>edit.tmpl</code></td>
    <td> Main edit window </td>
  </tr>
  <tr>
    <td><code>mailnotify.tmpl</code></td>
    <td> Email notification </td>
  </tr>
  <tr>
    <td><code>moveattachment.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>oopsaccesschange.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsaccessgroup.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsaccessrename.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsaccessview.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsauth.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsbadpwformat.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopschangepasswd.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsempty.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopslocked.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopslockedrename.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsmissing.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsmore.tmpl</code></td>
    <td> More topic actions message </td>
  </tr>
  <tr>
    <td><code>oopsmoveerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsnoformdef.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsnotwikiuser.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsnoweb.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopspreview.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregexist.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregpasswd.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregrequ.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregthanks.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregwiki.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsrenameerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsresetpasswd.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsrev.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopssave.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopssaveerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopssendmailerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopstopicexists.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsupload.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopswrongpassword.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>preview.tmpl</code></td>
    <td> Preview Changes screen </td>
  </tr>
  <tr>
    <td><code>rdiff.tmpl</code></td>
    <td> Displays text changes before &amp;amp; after (Diffs) </td>
  </tr>
  <tr>
    <td><code>register.tmpl</code></td>
    <td> Registration page </td>
  </tr>
  <tr>
    <td><code>registernotify.tmpl</code></td>
    <td> Registration notification </td>
  </tr>
  <tr>
    <td><code>rename.tmpl</code></td>
    <td> Doing a new topic rename, user chooses web &amp;amp; topic </td>
  </tr>
  <tr>
    <td><code>renamebase.tmpl</code></td>
    <td> Used by other rename templates </td>
  </tr>
  <tr>
    <td><code>renameconfirm.tmpl</code></td>
    <td> Confirms a pre-specified rename, ex: undoing a rename </td>
  </tr>
  <tr>
    <td><code>renamerefs.tmpl</code></td>
    <td> Rename done, but some references not changed (topics were locked) </td>
  </tr>
  <tr>
    <td><code>search.tmpl</code></td>
    <td> Search screen </td>
  </tr>
  <tr>
    <td><code>searchbookview.tmpl</code></td>
    <td> Search results with full topic content </td>
  </tr>
  <tr>
    <td><code>searchmeta.tmpl</code></td>
    <td> Search screen </td>
  </tr>
  <tr>
    <td><code>searchrenameview.tmpl</code></td>
    <td> Used by <code>rename</code> to list references to topic being renamed </td>
  </tr>
  <tr>
    <td><code>twiki.tmpl</code></td>
    <td> Base template definitions used by other templates </td>
  </tr>
  <tr>
    <td><code>view.plain.tmpl</code></td>
    <td> Printable topic view with reduced header/footer </td>
  </tr>
  <tr>
    <td><code>view.print.tmpl</code></td>
    <td> Topic view without header/footer </td>
  </tr>
  <tr>
    <td><code>view.tmpl</code></td>
    <td> Main topic view </td>
  </tr>
</table>

## <a name="TWiki_File_System_Snapshot"> TWiki File System Snapshot </a>

The following partial directory listings from a Linux installation show typical file permissions and ownership. This is provided for general debugging use only and isn't an exact representation of the current distribution.

Directory `twiki/bin`:

    drwxrwxr-x    2 twiki twiki    4096 Sep 14 22:45 .
    drwxrwxr-x    5 twiki twiki    4096 Aug  3 01:57 ..
    -rw-rw-r--    1 twiki twiki     895 Aug 25 01:32 .htaccess
    -rw-rw-r--    1 twiki twiki     782 Aug 25 01:32 .htaccess.txt
    -rw-rwxr-x    1 twiki twiki    4819 Sep  7 01:44 attach
    -rwxrwxr-x    1 twiki twiki    3381 Jul 21 18:41 changes
    -rw-rwxr-x    1 twiki twiki    8056 Sep  3 22:44 edit
    -rwxrwxr-x    1 twiki twiki    1736 Nov 17  2000 geturl
    -rwxrwxr-x    1 twiki twiki    4481 Aug 21 19:10 installpasswd
    -rwxrwxr-x    1 twiki twiki    5829 Aug 21 22:03 mailnotify
    -rwxrwxr-x    1 twiki twiki    4512 Aug 25 22:10 makedistrib
    -rw-rwxr-x    1 twiki twiki    2254 Aug 21 19:25 oops
    -rwxrwxr-x    1 twiki twiki    6399 Aug 22 18:31 passwd
    -rw-rwxr-x    1 twiki twiki    5315 Sep  3 22:45 preview
    -rwxrwxr-x    1 twiki twiki    8946 Sep  8 18:35 rdiff
    -rw-rwxr-x    1 twiki twiki    9199 Aug 25 21:02 register
    -rwxrwxr-x    1 twiki twiki   13481 Sep  7 21:17 rename
    -rw-rwxr-x    1 twiki twiki    4645 Sep  7 01:44 save
    -rwxrwxr-x    1 twiki twiki    4166 Jul 21 18:45 search
    -rw-rwxr-x    1 twiki twiki   10006 Sep  7 01:42 statistics
    -rwxrwxr-x    1 twiki twiki    9356 Aug 31 10:04 testenv
    -rw-rwxr-x    1 twiki twiki   13782 Aug 21 22:17 upload
    -rwxrwxr-x    1 twiki twiki   10164 Sep  8 18:24 view
    -rw-rwxr-x    1 twiki twiki    2773 Sep 13 17:21 viewfile

Directory `twiki/templates/`:

    drwxrwxr-x    2 twiki twiki    4096 Sep  8 00:47 .
    drwxrwxr-x    4 twiki twiki    4096 Sep 10 23:21 ..
    -rw-rw-r--    1 twiki twiki    2573 Aug 31 13:06 attach.tmpl
    -rw-rw-r--    1 twiki twiki    1604 Aug  3 14:52 attachagain.tmpl
    -rw-rw-r--    1 twiki twiki     449 Aug  3 14:47 attachnew.tmpl
    -rw-rw-r--    1 twiki twiki    1309 Sep  3 22:47 changeform.tmpl
    -rw-rw-r--    1 twiki twiki    1619 Aug 31 13:16 changes.tmpl
    -rw-rw-r--    1 twiki twiki   11842 Sep 10 19:00 edit.iejs.tmpl
    -rw-rw-r--    1 twiki twiki    2603 Sep  3 22:48 edit.tmpl
    -rw-rw-r--    1 twiki twiki     981 May 28 20:14 mailnotify.tmpl
    -rw-rw-r--    1 twiki twiki    1499 Aug 31 13:16 moveattachment.tmpl
    -rw-rw-r--    1 twiki twiki     570 Aug  1 01:24 oopsaccesschange.tmpl
    -rw-rw-r--    1 twiki twiki     586 Aug  1 01:24 oopsaccessgroup.tmpl
    -rw-rw-r--    1 twiki twiki     573 Aug  1 01:47 oopsaccessrename.tmpl
    -rw-rw-r--    1 twiki twiki     573 Aug  1 01:24 oopsaccessview.tmpl
    -rw-rw-r--    1 twiki twiki    1014 Aug  1 01:25 oopsauth.tmpl
    -rw-rw-r--    1 twiki twiki     405 Aug  1 01:49 oopsbadpwformat.tmpl
    -rw-rw-r--    1 twiki twiki     344 Jul 31 10:16 oopschangepasswd.tmpl
    -rw-rw-r--    1 twiki twiki     624 Jul 31 02:09 oopsempty.tmpl
    -rw-rw-r--    1 twiki twiki     918 Jul 31 02:20 oopslocked.tmpl
    -rw-rw-r--    1 twiki twiki     590 Jul 31 10:25 oopslockedrename.tmpl
    -rw-rw-r--    1 twiki twiki     328 Jul 31 10:26 oopsmissing.tmpl
    -rw-rw-r--    1 twiki twiki    2158 Sep 13 02:03 oopsmore.tmpl
    -rw-rw-r--    1 twiki twiki     407 Aug  1 10:22 oopsmoveerr.tmpl
    -rw-rw-r--    1 twiki twiki    1136 Aug  1 01:30 oopsnoformdef.tmpl
    -rw-rw-r--    1 twiki twiki     522 Aug  1 01:31 oopsnotwikiuser.tmpl
    -rw-rw-r--    1 twiki twiki     413 Jul 31 02:07 oopsnoweb.tmpl
    -rw-rw-r--    1 twiki twiki     393 Aug  1 01:32 oopspreview.tmpl
    -rw-rw-r--    1 twiki twiki     462 Aug  1 01:32 oopsregexist.tmpl
    -rw-rw-r--    1 twiki twiki     345 Aug  1 00:52 oopsregpasswd.tmpl
    -rw-rw-r--    1 twiki twiki     356 Aug  1 00:53 oopsregrequ.tmpl
    -rw-rw-r--    1 twiki twiki     540 Aug  1 01:57 oopsregthanks.tmpl
    -rw-rw-r--    1 twiki twiki     679 Aug  1 01:02 oopsregwiki.tmpl
    -rw-rw-r--    1 twiki twiki     411 Aug  1 10:23 oopsrenameerr.tmpl
    -rw-rw-r--    1 twiki twiki     483 Aug  1 01:59 oopsresetpasswd.tmpl
    -rw-rw-r--    1 twiki twiki     921 Sep  7 23:47 oopsrev.tmpl
    -rw-rw-r--    1 twiki twiki     774 Aug  1 01:35 oopssave.tmpl
    -rw-rw-r--    1 twiki twiki     477 Aug  1 02:01 oopssaveerr.tmpl
    -rw-rw-r--    1 twiki twiki     452 Aug  1 01:37 oopssendmailerr.tmpl
    -rw-rw-r--    1 twiki twiki     379 Aug  1 10:23 oopstopicexists.tmpl
    -rw-rw-r--    1 twiki twiki     342 Jul 31 10:09 oopsupload.tmpl
    -rw-rw-r--    1 twiki twiki     364 Aug  1 02:05 oopswrongpassword.tmpl
    -rw-rw-r--    1 twiki twiki    2584 Sep  3 22:49 preview.tmpl
    -rw-rw-r--    1 twiki twiki    1539 Sep  8 18:29 rdiff.tmpl
    -rw-rw-r--    1 twiki twiki     552 Jul 14 19:23 register.tmpl
    -rw-rw-r--    1 twiki twiki    1151 Aug 23 16:38 registernotify.tmpl
    -rw-rw-r--    1 twiki twiki     789 Aug  8 23:32 rename.tmpl
    -rw-rw-r--    1 twiki twiki    2310 Sep 10 14:56 renamebase.tmpl
    -rw-rw-r--    1 twiki twiki     475 Aug  3 16:53 renameconfirm.tmpl
    -rw-rw-r--    1 twiki twiki     589 Aug  8 23:32 renamerefs.tmpl
    -rw-rw-r--    1 twiki twiki    1792 Aug 31 18:38 search.tmpl
    -rw-rw-r--    1 twiki twiki    1650 Aug 31 18:38 searchbookview.tmpl
    -rw-rw-r--    1 twiki twiki     149 Sep 13 02:00 searchmeta.tmpl
    -rw-rw-r--    1 twiki twiki    2044 Aug 31 18:38 searchrenameview.tmpl
    -rw-rw-r--    1 twiki twiki    2246 Aug 31 13:08 twiki.tmpl
    -rw-rw-r--    1 twiki twiki     418 Aug 31 13:07 view.plain.tmpl
    -rw-rw-r--    1 twiki twiki     826 Aug 31 13:08 view.print.tmpl
    -rw-rw-r--    1 twiki twiki    1770 Sep  8 00:32 view.tmpl

Directory `twiki/data/`:

    drwxrwxr-x    8 nobody nobody  4096 Sep  7 01:04 .
    drwxrwxr-x    4 nobody nobody  4096 Sep 10 23:21 ..
    -rw-rw-rw-    1 twiki  twiki    159 Aug 24 19:49 .htpasswd
    drwxrwxr-x    2 nobody nobody  4096 Sep  9 02:45 Know
    drwxrwxr-x    2 nobody nobody  4096 Sep  9 02:45 Main
    drwxrwxr-x    2 nobody nobody  8192 Sep 14 23:22 TWiki
    drwxrwxr-x    2 nobody nobody  4096 Sep  9 02:45 Test
    drwxrwxr-x    2 nobody nobody  4096 Sep 14 12:04 Trash
    drwxrwxr-x    2 nobody nobody  4096 Sep  9 02:45 _default
    -rw-rw-rw--   1 twiki  twiki      0 Jul  1 02:20 debug.txt
    -rw-rw-r--    1 twiki  twiki    3419 Aug 13 00:15 mime.types
    -rw-rw-rw--   1 twiki  twiki      0 Jul  1 02:19 warning.txt

Partial file list for `twiki/data/Main`:

    drwxrwxrwx   2 nobody  nobody  4096 Aug 19 04:15 .
    drwxrwxrwx   6 nobody  nobody  4096 Aug  3 01:09 ..
    -rw-rw-rw-   1 twiki twiki     3716 Aug 19 02:19 .changes
    -rw-rw-rw-   1 twiki twiki        9 Aug 19 02:45 .mailnotify
    -rw-r--r--   1 nobody  nobody   358 Aug 18 17:22 OfficeLocations.txt
    -r--r--r--   1 nobody  nobody   878 Aug 18 17:22 OfficeLocations.txt,v
    -rw-r--r--   1 nobody  nobody   680 Aug 18 17:36 TWikiGuest.txt
    -r--r--r--   1 nobody  nobody  1989 Aug 18 17:36 TWikiGuest.txt,v
    -rw-r--r--   1 nobody  nobody   459 Aug 18 17:19 TWikiUsers.txt
    -r--r--r--   1 nobody  nobody  3840 Aug 18 17:19 TWikiUsers.txt,v
    -rw-r--r--   1 nobody  nobody    95 Aug 19 03:06 WebChanges.txt
    -r--r--r--   1 nobody  nobody   284 Aug 19 03:06 WebChanges.txt,v
    -rw-r--r--   1 nobody  nobody  1853 Aug 18 18:08 WebHome.txt
    -r--r--r--   1 nobody  nobody  6523 Aug 18 18:08 WebHome.txt,v

Directory `twiki/pub/`:

    drwxrwxrwx   6 nobody  nobody  4096 Aug  3 01:21 .
    drwxrwxr-x   3 twiki   twiki   4096 Jun 17 16:35 ..
    drwxrwxrwx   3 nobody  nobody  4096 Jun 17 16:35 Know
    drwxrwxrwx   3 nobody  nobody  4096 Aug  3 01:21 TWiki
    -rw-rw-r--   1 twiki   twiki   1078 Jan 14  2000 favicon.ico
    drwxrwxr-x   2 twiki   twiki   4096 Jun 17 16:35 icn
    -rw-rw-r--   1 twiki   twiki   3016 Oct  5  1999 twikilogo.gif
    -rw-rw-r--   1 twiki   twiki   5320 Oct  5  1999 twikilogo1.gif
    -rw-rw-r--   1 twiki   twiki   6125 Oct  5  1999 twikilogo2.gif
    -rw-rw-r--   1 twiki   twiki   7218 Oct  5  1999 twikilogo3.gif
    -rw-rw-r--   1 twiki   twiki   6710 Oct  5  1999 twikilogo4.gif
    -rw-rw-r--   1 twiki   twiki   3501 Sep 14 11:57 twikilogo88x31.gif
    -rw-rw-r--   1 twiki   twiki   2877 Jun  7  1999 wikiHome.gif

Partial file list for `twiki/pub/icn/`:

    drwxrwxr-x   2 twiki   twiki   4096 Jun 17 16:35 .
    drwxrwxrwx   6 nobody  nobody  4096 Aug  3 01:21 ..
    -rw-rw-r--   1 twiki   twiki    801 Mar 26  1999 _filetypes.txt
    -rw-rw-r--   1 twiki   twiki    143 Mar  9  1999 bat.gif
    -rw-rw-r--   1 twiki   twiki    926 Mar  9  1999 bmp.gif
    -rw-rw-r--   1 twiki   twiki    141 Mar 25  1999 c.gif
    -rw-rw-r--   1 twiki   twiki    144 Mar  9  1999 dll.gif
    -rw-rw-r--   1 twiki   twiki    152 Mar  9  1999 doc.gif

-- [[Main/MikeMannix]] - 14 Sep 2001 <br /> -- [[Main/PeterThoeny]] - 14 Sep 2001 <br />