Fix httpd template
This commit is contained in:
parent
5ee32bf478
commit
d44e8002f3
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
my $access = $dl{'access'} || 'private';
|
||||
my $allow = ($access eq 'public')?'all':"$localAccess $externalSSLAccess";
|
||||
my $auth = $dl{'Authentication'} || 'http';
|
||||
my $authtype = $dl{'Authentication'} || 'http';
|
||||
my $alias = (($dl{'AliasOnPrimary'} || 'enabled') eq 'enabled') ?
|
||||
'Alias /dl /usr/share/dl' : '';
|
||||
my $authuser = '';
|
||||
my $authadmin = '';
|
||||
if ($auth eq 'http'){
|
||||
my $auth = '';
|
||||
if ($authtype eq 'http'){
|
||||
$auth =<<'EOF';
|
||||
<FilesMatch "^(admin|rest)\.php">
|
||||
SSLRequireSSL on
|
||||
|
|
Loading…
Reference in New Issue