Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 379 Bytes
# Rewrite all requests to the front controller
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# redirect home page to not treat it as a valid directory
RewriteRule ^$ /init.php [L,QSA]
# existing files and folders are not redirected
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /init.php [L,QSA]
</IfModule>