Welcome Guest, Not a member yet? Register   Sign In
Getting rid of index.php in the URI
#1

[eluser]stormbytes[/eluser]
I read pretty much everything in the manual on this, including routes.php/remapping/wild-cards. I'd like some insight on the problem, as I'm fairly new and I'm not sure I understand what's involved.

My issue is this:

Right now, I'm developing on both a local Mamp installation and a remote web host. Both seems to behave identically. If I enter the baseURL, omitting 'index.php' the request is sent to the default controller. That is, example.com resolves the site. However, if I want to target a method of the default controller (other then 'index') I have to reference example.com/index.php/default/method/ - otherwise it does not resolve. What I'm trying to accomplish, provided this is doable, is:

example.com = resolves baseURL (default controller)

example.com/controller/method = resolves the selected method

I'd like to get rid of 'index.php' permanently, if that's possible.

Again - I've read through most of what I could find in the UG, and havent' come up with anything usable. I tried to create .htaccess on both my local Mamp installation and the remote host. No change (other then that nothing resolved!). I don't know anything about Apache configuration and to be honest, I have my hands full learning CI, which is far more satisfying. I'd like a simple 'fix' Smile


Messages In This Thread
Getting rid of index.php in the URI - by El Forum - 10-04-2010, 09:18 AM
Getting rid of index.php in the URI - by El Forum - 10-04-2010, 09:39 AM
Getting rid of index.php in the URI - by El Forum - 10-04-2010, 10:17 AM
Getting rid of index.php in the URI - by El Forum - 10-04-2010, 10:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB