Welcome Guest, Not a member yet? Register   Sign In
Codeigniter has trouble finding the correct route
#1

[eluser]slapo[/eluser]
Hello everyone,

I'm trying to get a web service running using CI running on IIS and everytime I want to use a port other than 80, e. g. 443 (for SSL enabled connections), CI halts somewhere, only showing a blank page. No errors or notices get shown.
I've been digging in the CI code for a bit and it seems it can't, for some reason I haven't discovered yet, route the requests to the desired controller.
It doesn't matter whether it's my own controller or the default one, which is welcome.php (the one distributed in the system/application/controllers folder).

This is what gets into log.php:
Code:
DEBUG - 2009-02-19 11:21:09 --> Config Class Initialized
DEBUG - 2009-02-19 11:21:09 --> Hooks Class Initialized
DEBUG - 2009-02-19 11:21:09 --> URI Class Initialized
ERROR - 2009-02-19 11:21:09 --> 404 Page Not Found --> index.php?q=welcome

As you can see, I've tried setting
Code:
$config['enable_query_strings'] = TRUE;

but that didn't change a thing.

I'm in the dark when it comes to why it shows the 404 error in the log and the page instead of the default controller when query string is empty.

It ran well on the server when it was on port 80 and was called via a name (sql1.my.domain). Now that IIS has been configured to have the CI directory as root on port 83 or 443, it won't run as expected.

Any hints would be most welcome.

Thanks Smile


Messages In This Thread
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 04:36 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 04:59 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 05:12 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 05:25 AM
Codeigniter has trouble finding the correct route - by El Forum - 02-19-2009, 07:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB