Welcome Guest, Not a member yet? Register   Sign In
404 Object Not Found
#1

[eluser]mikhailt[/eluser]
I get an error "404 Object Not Found"
in http://localhost/codeigniter/index.php/welcome

I have configured
$config['uri_protocol'] = "PATH_INFO";
and tried all the other combinations AUTO,QUERY_STRING etc.
Tried $config['index_page'] = "index.php?"; with ? or without '?' too
Default route is not configured.

If I try just http://localhost/codeigniter/index.php [no welcome here]
then got error "Unable to determine what should be displayed" as it should be.

If the default route is configured the start page is loaded. But further segmented URLs do not work. http://localhost/codeigniter/index.php/w.../my_method
I get an error "404 Object Not Found" Sad

I use the last CI 1.5.4 and IIS5.1 (Win XP) with proxy. But proxy is disabled in browser for localhost.

Can somebody help my?
#2

[eluser]ekeretex[/eluser]
Hi mikhailt,

I'm sure you've sorted your IIS issues but just in case you haven't (and for other folks with the same problem), I found that some versions of IIS don't work with $config['uri_protocol'] set to PATH_INFO.

All I had to do to get it to work was set 'index.php' to 'index.php?' and leave $config['uri_protocol'] set to AUTO. Hope that helps someone.




Theme © iAndrew 2016 - Forum software by © MyBB