diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/backuppc/files/99_backuppc.conf |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/backuppc/files/99_backuppc.conf')
-rw-r--r-- | app-backup/backuppc/files/99_backuppc.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-backup/backuppc/files/99_backuppc.conf b/app-backup/backuppc/files/99_backuppc.conf new file mode 100644 index 000000000000..eae766e4fa75 --- /dev/null +++ b/app-backup/backuppc/files/99_backuppc.conf @@ -0,0 +1,32 @@ +<IfDefine BACKUPPC> + + +Listen 8080 +<VirtualHost 127.0.0.1:8080> + AssignUserId backuppc backuppc + DocumentRoot "/usr/lib/backuppc/htdocs/" + RedirectMatch ^/$ /BackupPC_Admin + + <Directory "/usr/lib/backuppc/htdocs"> + AuthType Basic + AuthName "BackupPC Community Edition Administrative Interface" + AuthUserFile "/etc/BackupPC/users.htpasswd" + Options ExecCGI + Require valid-user + Require host 127.0.0.1 + </Directory> + + <Location "/BackupPC_Admin"> + SetHandler perl-script + PerlResponseHandler ModPerl::Registry + PerlOptions +ParseHeaders + </Location> + + <Directory "/usr/lib/backuppc/htdocs/image"> + Require all granted + Options -ExecCGI + </Directory> +</VirtualHost> + + +</IfDefine> |