[eluser]xenon-dev[/eluser]
Hello. I've been trying to build my first project with CI, but I'm having a little problem...I need to make a part of this project the default one, but can't get it right. In routes.php there is this line:
Code:
$route['default_controller'] = "portfolio/home";
All good (or should be). But, when loading the page(localhost/CodeIgniter/), it throws up this error:
Code:
404 Page Not Found
The page you requested was not found.
The application structure is as follows:
Code:
controllers
portfolio
home.php
And I still can't figure out WHY it shows a 'page not found' error, though it looks ok to me. The .htaccess file:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|user_guide|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
I can't understand what's wrong, please help me. Thanks.