Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on
RewriteBase /
#Admin
Rewriterule ^admin$ index.php
#Install
Rewriterule ^install$ install.php?r=Install/default
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.(js|ico|gif|jpg|png|css)$
# otherwise forward it to index.php
RewriteRule . index.php