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