RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !^(index\.php|dist|install|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]