I am using codeigniter 3.
I created login controller like
<?php
class Login extends CI_Controller
{
public function index()
{
echo "It's working";
}
}
?>
My .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I also enabled rewrite module.
It is working on
http://localhost/codeigniter/index.php/login
but not on
http://localhost/codeigniter/login
How can I solve this issue. or its bug in codeigniter 3.0.4 Please help.