diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8cbc609 --- /dev/null +++ b/.htaccess @@ -0,0 +1,5 @@ +# Only allow access to /index.php and /resources directory + +RewriteEngine on +RewriteCond %{REQUEST_URI} !^/index.php$|resources/ +RewriteRule ^(.*)$ / [L,R=301]