Welcome Guest, Not a member yet? Register   Sign In
First day, having trouble getting started.
#1

[eluser]evinrows[/eluser]
Edit: I just realized that http://localhost/nettuts/index.php/blog/index/ works. So I suppose I'd just be asking an annoyingly frequent question if I asked how to make it show up with the other URL. You can lock the thread.

I'm following the CI manual tutorial that tells me to make a file called blog.php with the contents

Code:
<?php
class Blog extends Controller {

    function index()
    {
        echo 'Hello World!';
    }
}
?>

and place it in

Code:
nettuts/system/application/controllers

But when I visit localhost/nettuts/blog/index I get

Code:
Not Found

The requested URL nettuts/blog/index was not found on this server.

I'm assuming it has something to do with routing? I running wamp server and I checked to see that it's running fine.

Any help? Thanks in advanced! :]


Edit: I just realized that http://localhost/nettuts/index.php/blog/index/ works. So I suppose I'd just be asking an annoyingly frequent question if I asked how to make it show up with the other URL. You can lock the thread.


Messages In This Thread
First day, having trouble getting started. - by El Forum - 08-12-2009, 04:50 AM
First day, having trouble getting started. - by El Forum - 08-12-2009, 04:53 AM
First day, having trouble getting started. - by El Forum - 08-12-2009, 04:54 AM
First day, having trouble getting started. - by El Forum - 08-12-2009, 05:22 AM
First day, having trouble getting started. - by El Forum - 08-12-2009, 05:26 AM
First day, having trouble getting started. - by El Forum - 08-12-2009, 05:30 AM
First day, having trouble getting started. - by El Forum - 08-12-2009, 07:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB