I want to remove index.php from codeigniter url my current configurations I tried so far with zero results are
folder structure: xampp\htdocs\Codeigniter\application\controllers\olx\olx.php xampp\htdocs\Codeigniter\application\views\olx\frmSignup
my HTACCESS file on the location xampp\htdocs\Codeigniter.HTACCESS with the following contents nothing else in .HTACCESS file for me
RewriteEngine On
RewriteBase /olx
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
mod_rewrite is enabled checked using phpinfo();
following changes made to config.php file
$config['base_url'] = 'http://mypc/olx';
$config['index_page'] = '';
when try to access this url
http://mypc/codeigniter/olx/frmSignup i get 404 error
changes made to routes.php are
$route['default_controller'] = 'olx';
$route['olx/frmSignup'] = 'olx/frmSignup';
please help I want to access my app without index.php. i am working on localhost with Windows7