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 ff31339..96f6ab3 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,7 +11,7 @@ my $auth = (($limesurvey{'Authentication'} || 'http') eq 'http') ? "AuthName \"L
if ($limesurvey{'status'} eq 'enabled'){
-$OUT .=<<"END"
+$OUT .=<<"END";
# LimeSurvey Configuration
$alias
@@ -38,6 +38,7 @@ $alias
Satisfy all
END
+
if ($alias ne ''){
$OUT .=<<'END';
@@ -45,6 +46,7 @@ if ($alias ne ''){
$auth
END
+
}
$OUT .=<<'END';
@@ -52,6 +54,7 @@ $OUT .=<<'END';
END
+
}
else{
$OUT .= "# LimeSurvey is disabled\n";