I created the application using CodeIgniter and I tried using the apache mod_rewrite rules listed in the CodeIgniter User Guide as follows
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
The problem is that I have this application in the 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 be made to the file .htaccessfor it to work correctly?
source
share