I was going through the official Code Igniter tutorial when I hit a snag...
The tutorial had me save and run this code:
<?php
class Blog extends Controller {
function index()
{
echo 'Hello World!';
}
function comments()
{
echo 'Look at this!';
}
}
?>
IF I enter the following URL:
index.php/blog
it works and displays "Hello World!".
When I modify the URL to display the comments as follows:
index.php/blog/comments/
I get a 404.