16 |
cd /home/httpd |
cd /home/httpd |
17 |
tar xvfz docman-2*.tar.gz |
tar xvfz docman-2*.tar.gz |
18 |
</pre> |
</pre> |
19 |
|
Make a symlink from current version (2.x) to default directory name |
20 |
|
<tt>docman2</tt> |
21 |
|
<pre> |
22 |
|
ln -s docman-2.x docman2 |
23 |
|
</pre> |
24 |
If you decide to install docman in some other directory, change |
If you decide to install docman in some other directory, change |
25 |
<tt>$gblIncDir</tt> to that directory in <a href="#realm"> |
<tt>$gblIncDir</tt> to that directory in <a href="#realm"> |
26 |
<tt>realm/http_virtual_host.conf</tt></a>! |
<tt>realm/http_virtual_host.conf</tt></a>! |
27 |
|
<br>If you don't want to use virtual hosts to separate docman |
28 |
|
installations on same host, but instead use directory name before |
29 |
|
<tt>docman.php</tt> script please read whole installation instructions |
30 |
|
and than <a href="admin.html#path_realm">Using script path as realm name</a> |
31 |
|
to correct all instructions. |
32 |
|
|
33 |
<li>Go to directory which you want to have under Document Manager control |
<li>Go to directory which you want to have under Document Manager control |
34 |
(this directory also shouldn't be accessible from your web server tree) |
(this directory also shouldn't be accessible from your web server tree) |
106 |
authorization request. If you want to add <i>anonymous</i> access (without |
authorization request. If you want to add <i>anonymous</i> access (without |
107 |
login and password) skip to <a href="#truestee">trustee</a> section. |
login and password) skip to <a href="#truestee">trustee</a> section. |
108 |
|
|
109 |
<br>Edit <tt>realm/http_virtual_host/.htusers</tt> file to add users. |
<br>Edit <tt>realm/http_virtual_host.htusers</tt> file to add users. |
110 |
You can do that by calling <tt>adduser.pl</tt> script with name of |
You can do that by calling <tt>adduser.pl</tt> script with name of |
111 |
your htusers file like this: |
your htusers file like this: |
112 |
<pre> |
<pre> |
202 |
<acronym title="message of the day">motd</acronym> |
<acronym title="message of the day">motd</acronym> |
203 |
file. You can use html mark-up in it also! |
file. You can use html mark-up in it also! |
204 |
|
|
205 |
|
<li> <i>optional</i>If you decided to use |
206 |
|
<a href="admin.html#path_realm">script path as realm name</a> |
207 |
|
correct all installation files according to |
208 |
|
<a href="admin.html#path_realm_convert">this instructions</a>. |
209 |
|
|
210 |
<li> if you want to <b>upload files which are bigger than 2Mb</b> increase |
<li> if you want to <b>upload files which are bigger than 2Mb</b> increase |
211 |
<tt>upload_max_filesize</tt> to more than 2Mb in <tt>php.ini</tt>. |
<tt>upload_max_filesize</tt> to more than 2Mb in <tt>php.ini</tt>. |
212 |
If you still get errors on files bigger than 8Mb increase |
If you still get errors on files bigger than 8Mb increase |