Fix httpd template

tags/0.1.0
Daniel Berteaud 11 years ago
parent 3de2f3a54a
commit 18cb44a9e0
  1. 4
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98OpenSondage

@ -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…
Cancel
Save