www.ejemplo.com/index.php/controlador/metodo
RewriteEngine onRewriteCond $1 !^(index.php|css|js|images)RewriteRule ^(.*)$ /index.php/$1 [L]
www.ejemplo.com/controlador/metodo
RewriteEngine onRewriteCond $1 !^(index.php|css|js|images)RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php/$1 [L,QSA]