summaryrefslogtreecommitdiff
path: root/app-backup/backuppc/files/99_backuppc.conf
blob: eae766e4fa7502c720b554a5c3d4469377a9c63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>