1 |
<h1>Document manager Administration manual</h1> |
2 |
|
3 |
<p>Here is a list of document that administrators might find useful when |
4 |
dealing with docman. They are ordered by importance, so be sure to read |
5 |
them. |
6 |
|
7 |
<h2>Reference reading</h2> |
8 |
<ol> |
9 |
<li><a href="install.html">Installation instructions</a> (<i>but, you already |
10 |
read that, right?</i>) |
11 |
<li><a href="faq.html">FAQ</a> and optionally |
12 |
<a href="upgrade.html">Upgrade from v1.x</a> |
13 |
<li><a href="new_directory_layout.html">New Directory Layout</a> and how that increase security |
14 |
<li><a href="performance.html">Performance tips</a> |
15 |
</ol> |
16 |
|
17 |
<h2>Errors</h2> |
18 |
|
19 |
<p>There are two types of errors in document manager: |
20 |
<ol> |
21 |
<li>errors which are result of user actions (<i>and they are reposted to users</i>) |
22 |
<li>errors which are result of configuration error (<i>which are by default reported to users, but they can be re-directed to error_log of Apache</i>) |
23 |
<br>You can re-direct administrative messages using |
24 |
<tt>$gblSeparateAdminMessages = 1</tt> in |
25 |
<tt>realm/http_virtual_host.conf</tt> |
26 |
<small>(See also explanation how to do that in |
27 |
<a href="install.html#gblSeparateAdminMessages">Installation instructions</a> |
28 |
)</small> |
29 |
</ol> |
30 |
|
31 |
<h2>Register Globals and PHP</h2> |
32 |
|
33 |
<p>Starting with version 2.0 docman doesn't need |
34 |
<tt>register_globals</tt> in <tt>php.ini</tt>. |
35 |
That means that docman knows which variables should be result of POST and |
36 |
what of GET which makes inserting bogus URL harder. |
37 |
</p> |
38 |
|
39 |
<h2>Unknown file types</h2> |
40 |
|
41 |
<p>By default, docman will report administrative error on |
42 |
unknown file types (like pipes, block and character files). |
43 |
You can change this behavior to ignoring those files by |
44 |
setting |
45 |
<tt>$gblIgnoreUnknownFileType = 0</tt> in |
46 |
<tt>realm/http_virtual_host.conf</tt> |
47 |
</p> |
48 |
|
49 |
<h2>Force download on view</h2> |
50 |
|
51 |
<p>If you set options |
52 |
<tt>$gblForceDownload= 1</tt> in |
53 |
<tt>realm/http_virtual_host.conf</tt> |
54 |
it will force download (and save to disk) if user wants to view file (just |
55 |
clicks on filename). Checkout will always force download. |
56 |
</p> |
57 |
|