Welcome Guest, Not a member yet? Register   Sign In
.htaccess and URI routing to redirect everything to a single controller/function...
#1

[eluser]snaggy[/eluser]
I wrote a tiny little mini cms for myself which only consists in a controller where the only function that should be accessed is index

current URI:

http://localhost/CI/index.php/MyControll...x/&#xpa;ge level 1%/&#xpa;ge level 2%

this part is useless

index.php/MyController/index/

How can I remove it? I tried to remove at least index.php (user guide) but it doesn't work
if I write

http://localhost/CI/MyController/index/&#xpa;ge level 1%/&#xpa;ge level 2%

it gives me this error:

No input file specified.


Any help appreciated, as this seems pretty hard for me..




Theme © iAndrew 2016 - Forum software by © MyBB