Fix httpd template
This commit is contained in:
parent
c178946437
commit
85cc0e73ef
|
@ -11,6 +11,8 @@ my $auth = (($limesurvey{'Authentication'} || 'http') eq 'http') ? "AuthName \"L
|
||||||
|
|
||||||
if ($limesurvey{'status'} eq 'enabled'){
|
if ($limesurvey{'status'} eq 'enabled'){
|
||||||
|
|
||||||
|
my $path = ($alias eq '') ? '' : 'limesurvey/';
|
||||||
|
|
||||||
$OUT .=<<"END"
|
$OUT .=<<"END"
|
||||||
|
|
||||||
# LimeSurvey Configuration
|
# LimeSurvey Configuration
|
||||||
|
@ -37,7 +39,7 @@ $alias
|
||||||
allow from $allow
|
allow from $allow
|
||||||
Satisfy all
|
Satisfy all
|
||||||
</Directory>
|
</Directory>
|
||||||
<LocationMatch "^/{ ($alias eq '') ? '' : 'limesurvey/' }(index\.php/)?admin">
|
<LocationMatch "^/$path(index\.php/)?admin">
|
||||||
SSLRequireSSL on
|
SSLRequireSSL on
|
||||||
$auth
|
$auth
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
|
|
Loading…
Reference in New Issue