From d44e8002f34d3e33a563c11f2fd7c87d9c350d56 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 19 Nov 2013 13:06:53 +0100 Subject: [PATCH] Fix httpd template --- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl index 27846ae..dd41194 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl @@ -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'; SSLRequireSSL on