Its supposed to be easy, right? |
[eluser]jodomama[/eluser]
test.htm works fine. I tried each option in combination with the suggested question mark and without it (10 different combinations)
[eluser]gtech[/eluser]
Seems that other people have the same problem with IIS... if you want an easy setup look at xampp (apache,php and mysql distribution). I will have a hunt on the forums for you see what I can dig out. [edit] what version of iis are you using?
[eluser]gtech[/eluser]
[url="http://www.snairl.com/blog/installing-codeigniter-on-iis/"]http://www.snairl.com/blog/installing-codeigniter-on-iis/[/url] found above link I don't know if its useful at all.. I will do a bit more research and post some more links in this reply.. as one day I may need to use IIS
[eluser]gtech[/eluser]
[url="http://ellislab.com/forums/viewthread/52852/"]http://ellislab.com/forums/viewthread/52852/[/url] some people suggest using ISAPI Rewrite so the CI search friendly urls work, see above link.
[eluser]jodomama[/eluser]
I dont think it is IIS. Urlrewrites are allright, but we still should find the page without it, dont you think? I tried to change Code: $route['default_controller'] = "welcome"; to Code: $route['default_controller'] = "temp"; in system/application/config/routes.php and now the Temp class (in temp.php) works, (browsing to http://127.0.0.1). But there seems to be some step missing here. Im not sure weather I missed it or what... Sorry again if this is too newbie for you.
[eluser]gtech[/eluser]
I think you will find the default controller always works, this isn't a newbie question at all as it appears lots of people have had problems with this. I think the URLS codeigniter uses are not compatable with IIS without using the ISAPI Rewrite. what you could do as a test is enable_query_strings in the config/config.php and then browse to www.your-site.com/index.php?c=controller&m=function see if that works... the config file has a comment to show you how to use enable_query_strings if that works you know its a URL style problem.
[eluser]jodomama[/eluser]
Yeah, you´re right! Browsing to http://127.0.0.1/index.php?c=temp or http://127.0.0.1/index.php?c=blog or http://127.0.0.1/index.php?c=welcome now all works fine! OK, so then it must be the urlrewrite thing, thanks for your help, I think I´ll find my way around now (or otherwise I'll be back) Suggestion: Maybe this could have been written i the trouble shooting?
[eluser]gtech[/eluser]
good point, why not suggest it in the feature requests. Glad you got it going. |
Welcome Guest, Not a member yet? Register Sign In |