First day, having trouble getting started. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: First day, having trouble getting started. (/showthread.php?tid=21518) |
First day, having trouble getting started. - El Forum - 08-12-2009 [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 and place it in Code: nettuts/system/application/controllers But when I visit localhost/nettuts/blog/index I get Code: Not Found 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. First day, having trouble getting started. - El Forum - 08-12-2009 [eluser]Maglok[/eluser] Yeah try localhost/nettuts/index.php/blog/index index.php basically gets all of the pages from CI. If you want to get rid of it, there are bits in the user_guide to do that. It involves editing the .htaccess. First day, having trouble getting started. - El Forum - 08-12-2009 [eluser]evinrows[/eluser] Yeah I'm a little slow... I'm suprized to find a quick response at 6:50 AM though. Thanks. First day, having trouble getting started. - El Forum - 08-12-2009 [eluser]Maglok[/eluser] It's 1:22 PM First day, having trouble getting started. - El Forum - 08-12-2009 [eluser]Dam1an[/eluser] [quote author="Maglok" date="1250094138"]It's 1:22 PM [/quote] There's this thing called timezones First day, having trouble getting started. - El Forum - 08-12-2009 [eluser]Andreas Bergström[/eluser] Sidenote: If you want to get rid of the index.php in the URL, read here: http://codeigniter.com/wiki/mod_rewrite/ (assuming you run on Apache) First day, having trouble getting started. - El Forum - 08-12-2009 [eluser]evinrows[/eluser] Thanks a bunch Andreas. And yeah I'm in eastern United States (gmt -5). |