diff --git a/.htaccess b/.htaccess
index 93eba0a..200123c 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,21 +3,12 @@
Require all granted
-
-
- Require all denied
-
Order Allow,Deny
Allow from all
-
-
- Deny from All
-
-
RewriteEngine on
@@ -26,12 +17,13 @@
RewriteRule ^api(.*)$ api.php [QSA,L]
RewriteRule ^admin(.*)$ admin.php [QSA,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ index.php [QSA,L]
+ RewriteRule !^assets index.php [QSA,L]
# MultiViews can mess up our rewriting scheme
Options -MultiViews
+
+ # Autoindex will list all assets files which is not so good
+ Options -Indexes