Welcome Guest, Not a member yet? Register   Sign In
[Solved] - Having trouble with $this->uri->segment on IIS6 server
#1

[eluser]louisl[/eluser]
$this->uri->segment(1) is not returning anything on an IIS6 server, it's reading the .htaccess file as I've got
Code:
RewriteRule ^google.html$ http://www.google.com/ [R=301]
in there and that works.

CI Reactor 2.0.0

Anyone have any ideas?
#2

[eluser]louisl[/eluser]
Made the post and then as if by magic I just sussed it. I changed...

Code:
$config['uri_protocol']    = 'AUTO';

to

Code:
$config['uri_protocol']    = 'QUERY_STRING';

in the config.php




Theme © iAndrew 2016 - Forum software by © MyBB