Welcome Guest, Not a member yet? Register   Sign In
Everything routed to default controller [resolved]
#1

[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!
#2

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

[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.




Theme © iAndrew 2016 - Forum software by © MyBB