21 |
<tt>realm/http_virtual_host.conf</tt></a>! |
<tt>realm/http_virtual_host.conf</tt></a>! |
22 |
|
|
23 |
<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 |
24 |
(this directory also shouldn't be accessable from your web server tree) |
(this directory also shouldn't be accessible from your web server tree) |
25 |
<pre> |
<pre> |
26 |
cd /home/httpd/repository |
cd /home/httpd/repository |
27 |
</pre> |
</pre> |
93 |
|
|
94 |
<li><i>if you don't want to users in SQL database</i> |
<li><i>if you don't want to users in SQL database</i> |
95 |
Go to you web server <tt>http://http_virtual_host/</tt> and you should get |
Go to you web server <tt>http://http_virtual_host/</tt> and you should get |
96 |
autorization request. If you want to add <i>anonymous</i> access (without |
authorization request. If you want to add <i>anonymous</i> access (without |
97 |
login and password) skip to <a href="#truestee">trustee</a> section. |
login and password) skip to <a href="#truestee">trustee</a> section. |
98 |
|
|
99 |
<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. |
104 |
$ ./adduser.pl realm/http_virtual_host.conf |
$ ./adduser.pl realm/http_virtual_host.conf |
105 |
</pre> |
</pre> |
106 |
If you press just <i>enter</i> for password or enter <tt>auth_pop3</tt> |
If you press just <i>enter</i> for password or enter <tt>auth_pop3</tt> |
107 |
docman will uss e-mail address to connect to pop3 server and check |
docman will use e-mail address to connect to pop3 server and check |
108 |
password on it. For that e-mail address must be in following form: |
password on it. For that e-mail address must be in following form: |
109 |
<tt>pop3login@pop3server.mydomain</tt> |
<tt>pop3login@pop3server.mydomain</tt> |
110 |
|
|
156 |
are credentials for user which connects to database. |
are credentials for user which connects to database. |
157 |
|
|
158 |
<li> <i>alternative if you want to authorize users based on IP numbers, |
<li> <i>alternative if you want to authorize users based on IP numbers, |
159 |
client DNS names of HTTP Referarer header (URL from which they accessed |
client DNS names of HTTP Referrer header (URL from which they accessed |
160 |
docman site)</i> |
docman site)</i> |
161 |
<br>Put <tt>$gblUsers = "htusers_header";</tt> in |
<br>Put <tt>$gblUsers = "htusers_header";</tt> in |
162 |
<tt>realm/http_virtual_host.conf</tt> and use |
<tt>realm/http_virtual_host.conf</tt> and use |
170 |
field and valid options in login field. |
field and valid options in login field. |
171 |
<br>Valid options for left side of equation (=) in login field are: |
<br>Valid options for left side of equation (=) in login field are: |
172 |
<tt>remote_addr</tt>, <tt>remote_hostname</tt> or <tt>http_referer</tt>. |
<tt>remote_addr</tt>, <tt>remote_hostname</tt> or <tt>http_referer</tt>. |
173 |
Valid filed for right side are respective parametars for that option. |
Valid filed for right side are respective parameters for that option. |
174 |
|
|
175 |
<li> <i>if you want some combination of above authentification methods</i> |
<li> <i>if you want some combination of above auth methods</i> |
176 |
<br>Put in <tt>realm/http_virtual_host.conf</tt>: |
<br>Put in <tt>realm/http_virtual_host.conf</tt>: |
177 |
<br><tt>$gblUsers = "htusers_union"</tt><br> |
<br><tt>$gblUsers = "htusers_union"</tt><br> |
178 |
and uncomment which htusers auth modules you want to use and in which |
and uncomment which htusers auth modules you want to use and in which |
184 |
<li> <i>optional, but highly recommended</i> |
<li> <i>optional, but highly recommended</i> |
185 |
Trustees are ACL implementation in docman. It's documented in |
Trustees are ACL implementation in docman. It's documented in |
186 |
<a href="trustee.html">separate document</a>, and you should use it if your |
<a href="trustee.html">separate document</a>, and you should use it if your |
187 |
users shouldn't have same right to all files under docman controll, or |
users shouldn't have same right to all files under docman control, or |
188 |
if you want to enable <i>anonymous</i> access to repository. |
if you want to enable <i>anonymous</i> access to repository. |
189 |
|
|
190 |
<li> <i>optional</i> You can create file named <tt>.info.inc</tt> in |
<li> <i>optional</i> You can create file named <tt>.info.inc</tt> in |
191 |
<tt>/home/httpd/repository</tt> directory for some kind of |
<tt>/home/httpd/repository</tt> directory for some kind of |
192 |
<acronym title="message of the day">motd</acronym> |
<acronym title="message of the day">motd</acronym> |
193 |
file. You can use html markup in it also! |
file. You can use html mark-up in it also! |
194 |
|
|
195 |
<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 |
196 |
<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>. |
198 |
<tt>post_max_size</tt> also. |
<tt>post_max_size</tt> also. |
199 |
|
|
200 |
<li> <i>optional</i> Think about configuring your backup software so that |
<li> <i>optional</i> Think about configuring your backup software so that |
201 |
<tt>/home/httpd</tt> is backuped automatically. |
<tt>/home/httpd</tt> is backup ed automatically. |
202 |
|
|
203 |
<li> <i>optional</i> You can use document manager behind secure http |
<li> <i>optional</i> You can use document manager behind secure http |
204 |
server (<tt>https</tt>) simply by installing it. For information take a |
server (<tt>https</tt>) simply by installing it. For information take a |