CodeIgniter Forums
Everything routed to default controller [resolved] - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Everything routed to default controller [resolved] (/showthread.php?tid=12659)



Everything routed to default controller [resolved] - El Forum - 10-27-2008

[eluser]dmitrybelyakov[/eluser]
Trying to transfer my website to remote host.

Already tested it localy and on another remote host - all worked well but now everything i call is routed to default controller.
So calling URLs like www.mysite.com/welcome/ is routed to the front page.

The CI logs give me: No URI present. Default controller set.

Callling my urls with index.php (Like this: www.mysite.com/index.php/welcome/) works well.

Is that an Apache mod_rewrite problem?



Thanks for any help!


Everything routed to default controller [resolved] - El Forum - 10-27-2008

[eluser]dmiden[/eluser]
Hi,
Try changing $config[‘uri_protocol’] in config.php.
You could try all options and see if anyone works.


Everything routed to default controller [resolved] - El Forum - 10-27-2008

[eluser]dmitrybelyakov[/eluser]
[quote author="dmiden" date="1225117334"]Hi,
Try changing $config[‘uri_protocol’] in config.php.
You could try all options and see if anyone works.[/quote]

Yes thanks a lot! That did work with this delicios flavour: $config['uri_protocol'] = "REQUEST_URI"; )))

Now i wonder what was the nature of this error...

Dmitry.