htaccess added for access controll

This commit is contained in:
Raphael Zimmermann 2015-03-16 20:50:50 +01:00
parent dd249db901
commit f389c62604
1 changed files with 5 additions and 0 deletions

5
.htaccess Normal file
View 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]