Welcome Guest, Not a member yet? Register   Sign In
Working with paths and URIs
#1

[eluser]Unknown[/eluser]
Hi there,

I'm new to CI, and want to set up my apps so that they behave thusly:

example.com/

should load up controller "Home" with function "index" (I've got this working)

and example.com/nextcontroller

should load up controller "nextcontroller" with the function "index". This won't work for me and shows up as a 500 error. To access that controller/function, instead I need to go to:

example.com/index.php/nextcontroller.

How can I make the routes behave how I've described?

Thanks any help!


Messages In This Thread
Working with paths and URIs - by El Forum - 10-03-2009, 04:53 PM
Working with paths and URIs - by El Forum - 10-03-2009, 05:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB