RewriteEngine on
RewriteCond $1 !^(index\.php|application/views/|robots\.txt|install|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L]