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'){
|
||||
|
||||
my $path = ($alias eq '') ? '' : 'limesurvey/';
|
||||
|
||||
$OUT .=<<"END"
|
||||
|
||||
# LimeSurvey Configuration
|
||||
|
@ -37,7 +39,7 @@ $alias
|
|||
allow from $allow
|
||||
Satisfy all
|
||||
</Directory>
|
||||
<LocationMatch "^/{ ($alias eq '') ? '' : 'limesurvey/' }(index\.php/)?admin">
|
||||
<LocationMatch "^/$path(index\.php/)?admin">
|
||||
SSLRequireSSL on
|
||||
$auth
|
||||
</LocationMatch>
|
||||
|
|
Loading…
Reference in New Issue