From f389c626043c1157d84d2f92102480e22affddd4 Mon Sep 17 00:00:00 2001 From: Raphael Zimmermann Date: Mon, 16 Mar 2015 20:50:50 +0100 Subject: [PATCH] htaccess added for access controll --- .htaccess | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .htaccess 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]