Welcome Guest, Not a member yet? Register   Sign In
page cannot be found
#1

[eluser]jackIgniter[/eluser]
It's very strange!

I reinstall my OS (windows XP), and I change to use IIS (6.0) this time instead of Apache. All of my CI projects become to page cannot be found. Each project only works with the default controller. I can use the welcome controller to load any view, but if change to the non-default controller then I will get page cannot be found problem.

Does anybody encounter this problem before?
#2

[eluser]Phil Sturgeon[/eluser]
Your config is probably still expecting mod_rewrite, but IIS will ignore .htaccess files.

Remove .htaccess and put the index.php back.
#3

[eluser]jackIgniter[/eluser]
Actually, I didn't use mod_rewrite in my CI projects.

Here is the URL of my web: http://localhost/CI/index.php/mycontroller/. And it give the page cannot be found error. But if use the default controller 'welcome' to load any page, it work fine.
#4

[eluser]jcavard[/eluser]
IIS? Why?

Have you tried direct access to your localhost? (http://localhost/)
If you can get there, then you might need to map your CI folder to IIS.

this might come in handy: http://forums.iis.net/
#5

[eluser]Phil Sturgeon[/eluser]
In which case try changing the URI_PROTOCOL setting in config.php. Try them all until one works.




Theme © iAndrew 2016 - Forum software by © MyBB