First day, having trouble getting started. |
[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.
[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.
[eluser]evinrows[/eluser]
Yeah I'm a little slow... I'm suprized to find a quick response at 6:50 AM though. Thanks.
[eluser]Dam1an[/eluser]
[quote author="Maglok" date="1250094138"]It's 1:22 PM [/quote] There's this thing called timezones
[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)
[eluser]evinrows[/eluser]
Thanks a bunch Andreas. And yeah I'm in eastern United States (gmt -5). |
Welcome Guest, Not a member yet? Register Sign In |