The environment variable EX_RDR should be set up.
Example line in .htaccess:
RewriteRule (.+) /elxprotect/index.php [L,E=EX_RDR:/members/$1]
WHERE /members/ is the area your folder is in.