Htaccess File

alexeykudinkin/orderbox/master/.htaccess

RewriteEngine On

RewriteRule ^$ /login.php [R=301,L]

<Files ~ ".*(x|X).php$">
  Order deny,allow
  Deny from all
</Files>

# - This is insane
# - However!
<Files ~ '.(sql)$'>
  Order deny,allow
  Deny from all
</Files>
Exit mobile version