#RewriteEngine On
#RewriteBase /icaro/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
#RewriteCond %{REQUEST_URI} $
#RewriteRule ^(.*)$ index.php?$1 [L]
#RewriteCond %{REQUEST_URI} ^/icaro$
#RewriteRule $ /index.php [L]
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>