I'm made a codeigniter app and I tried to use the apache mod_rewrite rules as
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
The problem is that I have this app in a folder abc/ but when I type mysite/abc/something (which should point to mysite/abc/index.php/something) I get redirected to mysite/index.php/something
What changes should I make to the .htaccess file to make it work properly?