htaccess added for access controll
This commit is contained in:
parent
dd249db901
commit
f389c62604
1 changed files with 5 additions and 0 deletions
5
.htaccess
Normal file
5
.htaccess
Normal file
|
@ -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]
|
Reference in a new issue