thecsea/twofactor-dir/master/files/x.htaccess
##START twofactor-dir RewriteEngine on RewriteRule ^get_qr.php$ get_qr.php [L,QSA] ##comment this line to hide get_qr.php for not logged users RewriteCond %{HTTP_COOKIE} !twofactorDir-{CUR_DIR}={COOKIE_CODE} RewriteRule ^(.*)$ redirect.php [L,QSA] <Files secret.php> order allow,deny deny from all </Files> ##END twofactor-dir
Files
