Moved BackupPC authentication configuration to htaccess file
This commit is contained in:
parent
1093ac1cf6
commit
7cb3953a96
4 changed files with 32 additions and 27 deletions
7
backuppc/files/backuppc-httpd.conf
Normal file
7
backuppc/files/backuppc-httpd.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
<Directory /usr/share/BackupPC/sbin/>
|
||||
AllowOverride AuthConfig
|
||||
</Directory>
|
||||
|
||||
Alias /BackupPC/images /usr/share/BackupPC/html/
|
||||
ScriptAlias /BackupPC /usr/share/BackupPC/sbin/BackupPC_Admin
|
||||
ScriptAlias /backuppc /usr/share/BackupPC/sbin/BackupPC_Admin
|
5
backuppc/files/htaccess
Normal file
5
backuppc/files/htaccess
Normal file
|
@ -0,0 +1,5 @@
|
|||
AuthType Basic
|
||||
AuthUserFile /etc/BackupPC/apache.users
|
||||
AuthName "BackupPC"
|
||||
|
||||
require valid-user
|
Loading…
Add table
Add a link
Reference in a new issue