From 85cc0e73ef576f0fefedbdc86c27ad042f9c7ff8 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 13 Aug 2014 11:29:29 +0200 Subject: [PATCH] Fix httpd template --- .../e-smith/templates/etc/httpd/conf/httpd.conf/98LimeSurvey | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98LimeSurvey b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98LimeSurvey index f3d4b1c..55ddf8f 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98LimeSurvey +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98LimeSurvey @@ -11,6 +11,8 @@ my $auth = (($limesurvey{'Authentication'} || 'http') eq 'http') ? "AuthName \"L if ($limesurvey{'status'} eq 'enabled'){ +my $path = ($alias eq '') ? '' : 'limesurvey/'; + $OUT .=<<"END" # LimeSurvey Configuration @@ -37,7 +39,7 @@ $alias allow from $allow Satisfy all - + SSLRequireSSL on $auth