
Alias           /BackupPC/images        /usr/share/BackupPC/html/
ScriptAlias     /BackupPC               /usr/share/BackupPC/sbin/BackupPC_Admin

<Directory /usr/share/BackupPC/html/>
    Options None
    AllowOverride None
    order deny,allow
    deny from all
    allow from 127.0.0.1
</Directory>

<Directory /usr/share/BackupPC/sbin/>
        Options ExecCGI
        AllowOverride None
        order deny,allow
        deny from all
        allow from 127.0.0.1
        AuthName "BackupPC"
		AuthType Basic
        TKTAuthLoginURL /server-common/cgi-bin/login
{
        my $ManagerTimeout = ${'httpd-admin'}{ManagerTimeout} || "30m";
        $OUT = "    TKTAuthTimeout $ManagerTimeout\n";
        my $Cookie = ${'httpd-admin'}{Cookie} || "disabled";
        $OUT .= "    TKTAuthCookieExpires $ManagerTimeout\n" if "$Cookie" eq "enabled";
        my $ManagerTimeoutReset = ${'httpd-admin'}{ManagerTimeoutReset} || "0.66";
        $OUT .= "    TKTAuthTimeoutRefresh $ManagerTimeoutReset\n";
}
        require valid-user
        Satisfy all
</Directory>


