RewriteEngine On

# Serve real files/directories directly (css/js/images)
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Everything else through the front controller
RewriteRule ^ index.php [L]
