Welcome Guest, Not a member yet? Register   Sign In
CI 1.6 - default route on IIS
#1

[eluser]MaDe[/eluser]
Got a nasty problem with CI 1.6 and default route on IIS (don't know, if the problem exists in 1.5.4).

My CI is installed in a subdirectory, let's say http://www.domain.com/my_ci_dir (that's the base path in config). If I call this url, I get a 404 from router.php line 225. I tracked the whole thing back to the uri not being interpreted correctly, as the router tries to load the controller "my_ci_dir" instead of the one defined as default_controller. The uri.php (on line 95) sets the uri_string to "my_ci_dir/index.php" and this causes the router to try to load the controller "my_ci_dir".

I commented out the lines 93-97 and the default controller is loaded correctly. I don't know, if I have found the problem at the correct location, but this one solved my problem. Is this worth a bug report?

Regards,
Marc




Theme © iAndrew 2016 - Forum software by © MyBB