/[docman2]/doc/new_directory_layout.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /doc/new_directory_layout.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Jul 20 12:45:02 2002 UTC (21 years, 10 months ago) by dpavlin
Branch: MAIN
Branch point for: DbP
File MIME type: text/html
Initial revision

1 dpavlin 1.1 <h1>Directory layout</h1>
2    
3     <p>
4     Yes, docman's directory layout has changed. A lot. For impatient, please go to
5     <a href="upgrade.html">upgrade</a> documentation. This document is overview
6     how new directories should be located (relative to web server) and why.
7     </p>
8    
9     <p>If you are in hurry, you can just skip parts which are written
10     in <i>italic</i>. But, re-read them because they contain usefull
11     informations.
12     </p>
13    
14     <p>
15     There are several types of directories in docman:
16    
17     <ol>
18     <a name="DocumentRoot">
19     <li>Apache DocumentRoot directory
20     <br>
21     This directory keeps just files which should be directly accessable by
22     your web server. It should have just <tt>index.php</tt> which
23     is symlink or hardlink to <tt>docman.php</tt>.
24    
25     <a name="repository">
26     <li>Repository Directory
27     <br>
28     <b>Not accessable by web server, but writtable by it</b>. This is directory
29     in which uploaded documents will be stored (along with notes, changelog,
30     locks and so on). <i>You can think of this directory as old root directory
31     of docman v1.x</i>. Nothing from this directory won't be executed by
32     docman or webserver for security reasons. <i>This means that you will have
33     to move your include_php files, htusers and configuration files to somewhere
34     if you are upgrading from docman v1.x installation</i>
35     <br><small><a href="#go_repository">more about repository</small>
36    
37     <a name="realm">
38     <li><tt>realm</tt> Directory under <a href="#docman">docman's directory</a>
39     structure
40     <br>
41     This directory stores configuration file, users file and
42     <a href="trustee.html">trustee</a> file
43     for one realm of your docman installation. <i>Realm is one authorisation
44     domain, usually one virutal host in apache under which user can surf without
45     need to re-enter his username or password.</i>
46    
47     </ol>
48    
49     <hr>
50    
51     <a name="docman">
52     <h2>DocMan's Distribution Directory structure</h2>
53    
54     <big>FIX</big>
55    
56     <a name="go_repository">
57     <h2>Repository Directory</h2>
58    
59     There are following files (aside from documents which your users upload
60     to docman):
61    
62     <table border=0>
63     <tr><th colspan=2>root of repository</th><tr>
64     <tr><td><tt>.changelog</tt></td>
65     <td>changes of files under docman management</td><tr>
66     <tr><td><tt>.htusers</tt></td>
67     <td>file with users</tr></tr>
68     <tr><td><tt>.info.inc</tt></td>
69     <td>file with MOTD which is included in interface</tr></tr>
70     <tr><td><tt>.docman.conf</tt></td>
71     <td>configuration file for this site</tr></tr>
72     <tr><th colspan=2>in each directory under docman managemant <small>(all are optional and may be missing)</small></th><tr>
73     <tr><td><tt>.bak/</tt></td><td>directory for backup copies of files</td></tr>
74     <tr><td><tt>.del/</tt></td><td>directory with deleted files</td></tr>
75     <tr><td><tt>.lock/</tt></td><td>directory with lock informations</td></tr>
76     <tr><td><tt>.log/</tt></td><td>directory with changelogs for each file</td></tr>
77     <tr><td><tt>.note/</tt></td><td>directory with notes for files</td></tr>
78     </table>

  ViewVC Help
Powered by ViewVC 1.1.26