htaccess added for access controll

This commit is contained in:
Raphael Zimmermann 2015-03-16 20:50:50 +01:00
parent dd249db901
commit f389c62604

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]