|
|
|
@ -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 |
|
|
|
|
</Directory> |
|
|
|
|
END |
|
|
|
|
|
|
|
|
|
if ($alias ne ''){ |
|
|
|
|
$OUT .=<<'END'; |
|
|
|
|
<LocationMatch "^/limesurvey/(index\.php/)?admin"> |
|
|
|
@ -45,6 +46,7 @@ if ($alias ne ''){ |
|
|
|
|
$auth |
|
|
|
|
</LocationMatch> |
|
|
|
|
END |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
$OUT .=<<'END'; |
|
|
|
|
<DirectoryMatch "/usr/share/limesurvey/(framework|console|installer/sql|locale|application/(logs|config)|docs)"> |
|
|
|
@ -52,6 +54,7 @@ $OUT .=<<'END'; |
|
|
|
|
</DirectoryMatch> |
|
|
|
|
|
|
|
|
|
END |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
$OUT .= "# LimeSurvey is disabled\n"; |
|
|
|
|