<Files check_user.php>
  Order allow,deny
  Deny from all
</Files>
<Files config.php>
  Order allow,deny
  Deny from all
</Files>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=302]
RewriteCond %{REQUEST_URI} !^/off.php
RewriteRule (.*) https://%{HTTP_HOST}/off.php [R=302]