Default Index is only page showing up. |
[eluser]thocutt1020[/eluser]
Hi guys, I'm having a problem trying to port my website to CI2 in that I am experiencing a phenomenon where only the default page index is showing no matter what url goes in. I have successfully made the switch to Reactor using a 'normal' url, www.ihq.org.au and everything works great. ...But... I need this to work on my site that hosts multiple sites via sub-domains. This is where I run into a problem... my website hockeysyte.com, hosts sites like ilha.hockeysyte.com and nzinline.hockeysyte.com In CI 1.7 I used... Code: $config['uri_protocol'] = 'REQUEST_URI'; and my htaccess looks like... Code: #<IfModule mod_rewrite.c=""> These two settings work great with 1.7 and when I've upgraded to CI 2 with a "normal" url. But when I try to use this with my subdomain setup in CI2.0, no matter what codeigniter URL I put in, I get the default page index. /xsyte/index - index as expected. /xsyte/news - index! /xadmin - index! etc.. I suspect the problem is the REQUEST_URI protocol, but I'm really not sure at this point and I've been forced to go back to CI 1.7 Anyone know what I can do here to get CI 2 working in this environ? Thanks heaps for any ideas!! Cheers, Tracy
[eluser]thocutt1020[/eluser]
I got the latest Reactor 2.01 Tip and everything is working fine now! YES!! |
Welcome Guest, Not a member yet? Register Sign In |