Fix httpd template

tags/0.1.3_el5
Daniel Berteaud 11 years ago
parent c178946437
commit 85cc0e73ef
  1. 4
      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
</Directory>
<LocationMatch "^/{ ($alias eq '') ? '' : 'limesurvey/' }(index\.php/)?admin">
<LocationMatch "^/$path(index\.php/)?admin">
SSLRequireSSL on
$auth
</LocationMatch>

Loading…
Cancel
Save