![]() |
Problem: I've no idea what's going on - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Problem: I've no idea what's going on (/showthread.php?tid=8715) |
Problem: I've no idea what's going on - El Forum - 05-28-2008 [eluser]Annath[/eluser] I've been working with CodeIgniter for the first time, and just deployed my application. Everything worked fine on my test server, but when I delpoyed it to the production server I suppose some difference between the two caused it to break. The best way I can describe the problem is that URL's are not being read properly. I got to example.com/index.php/nameofcontroller and it goes to the default controller, as though it is ignoring everything after index.php. Is there anything that might be causing this, or do I need to give more details? Problem: I've no idea what's going on - El Forum - 05-28-2008 [eluser]ontguy[/eluser] Did you update the base_url in the config.php? Problem: I've no idea what's going on - El Forum - 05-28-2008 [eluser]Annath[/eluser] Yes, the base URL was updated to reflect the production server. Problem: I've no idea what's going on - El Forum - 05-28-2008 [eluser]Jamie Rumbelow[/eluser] Try setting the $config['uri_protocol'] to "REQUEST_URI" Jamie Problem: I've no idea what's going on - El Forum - 05-28-2008 [eluser]Annath[/eluser] Thanks a lot! That fixed it. Problem: I've no idea what's going on - El Forum - 05-28-2008 [eluser]Jamie Rumbelow[/eluser] Your welcome ![]() |