Fix httpd template error

tags/0.1.8_el5
Daniel Berteaud 8 years ago
parent 29f2690d33
commit 152c1d08f1
  1. 6
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98LimeSurvey

@ -37,14 +37,16 @@ $alias
allow from $allow
Satisfy all
</Directory>
END
if ($alias ne ''){
$OUT .=<<'_EOF';
$OUT .=<<'END';
<LocationMatch "^/limesurvey/(index\.php/)?admin">
SSLRequireSSL on
$auth
</LocationMatch>
_EOF
END
}
$OUT .=<<'END';
<DirectoryMatch "/usr/share/limesurvey/(framework|console|installer/sql|locale|application/(logs|config)|docs)">
Deny from all
</DirectoryMatch>

Loading…
Cancel
Save