26 lines
691 B
Text
26 lines
691 B
Text
<Directory /usr/share/BackupPC/sbin/>
|
|
# BackupPC requires valid authentication in order for the web interface to
|
|
# function properly. One can view the web interface without authentication
|
|
# though all functionality is disabled.
|
|
#
|
|
# htpasswd -c /etc/BackupPC/apache.users yourusername
|
|
#
|
|
|
|
#order deny,allow
|
|
#deny from all
|
|
#allow from 127.0.0.1
|
|
#AuthType Basic
|
|
#AuthUserFile /etc/BackupPC/apache.users
|
|
#AuthName "BackupPC
|
|
|
|
<%= backuppc_auth %>
|
|
|
|
<% backuppc_adminusers.each do |user| -%>
|
|
require user <%= user %>
|
|
<% end -%>
|
|
|
|
</Directory>
|
|
|
|
|
|
Alias /BackupPC/images /usr/share/BackupPC/html/
|
|
ScriptAlias /BackupPC /usr/share/BackupPC/sbin/BackupPC_Admin
|