Fix httpd template
This commit is contained in:
parent
3de2f3a54a
commit
18cb44a9e0
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
my $access = $opensondage{'access'} || 'private';
|
||||
my $allow = ($access eq 'public')?'all':"$localAccess $externalSSLAccess";
|
||||
my $auth = $opensondage{'Authentication'}' || 'http';
|
||||
my $auth = $opensondage{'Authentication'} || 'http';
|
||||
my $alias = (($opensondage{'AliasOnPrimary'} || 'enabled') eq 'enabled') ?
|
||||
'Alias /opensondage /usr/share/opensondage' : '';
|
||||
my $authuser = '';
|
||||
my $authadmin = '';
|
||||
if ($auth eq 'http'){
|
||||
$authuser =<<'EOF';
|
||||
<FilesMatch "^($|(index|adminstubs|info_sondage)\.php)">
|
||||
<FilesMatch "^($|(index|adminstubs|infos_sondage)\.php)">
|
||||
SSLRequireSSL on
|
||||
AuthName "OpenSondage"
|
||||
AuthType Basic
|
||||
|
|
Loading…
Reference in New Issue