1 |
slords |
1.1 |
<Directory /usr/share/BackupPC/sbin/> |
2 |
|
|
# BackupPC requires valid authentication in order for the web interface to |
3 |
|
|
# function properly. One can view the web interface without authentication |
4 |
|
|
# though all functionality is disabled. |
5 |
|
|
# |
6 |
|
|
# htpasswd -c /etc/BackupPC/apache.users yourusername |
7 |
|
|
# |
8 |
|
|
|
9 |
|
|
order deny,allow |
10 |
|
|
deny from all |
11 |
|
|
allow from 127.0.0.1 |
12 |
|
|
AuthType Basic |
13 |
|
|
AuthUserFile /etc/BackupPC/apache.users |
14 |
|
|
AuthName "BackupPC |
15 |
|
|
|
16 |
|
|
require valid-user |
17 |
|
|
|
18 |
|
|
</Directory> |
19 |
|
|
|
20 |
|
|
|
21 |
|
|
Alias /BackupPC/images /usr/share/BackupPC/html/ |
22 |
|
|
ScriptAlias /BackupPC /usr/share/BackupPC/sbin/BackupPC_Admin |