RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css|swf)$ index.php [L]
RewriteCond $1 !^(index\.php|uploads|robots\.txt)

SetEnv CI_ENV development
#SetEnv CI_ENV production