0 Replies - 5143 Views - Last Post: 15 May 2012 - 12:46 AM

#1 ethereal1m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 227
  • Joined: 30-June 09

Cannot redirect URL to proper function when using IIS 6

Posted 15 May 2012 - 12:46 AM

Dear all,
Iím trying to redirecting using an URL that uses get method so that it fills up $_GET variable and redirects it to some class and function of a controller. When using IIS6, it doesn't redirect to a specified controller, it redirects to its home instead. Works in Apache though.

Suppose the link is:

which making the link to execute get method and set variable ďidĒ with value equal to 5 and put them into $_GET variable.

I'm using Codeigniter framework, therefore for URL routing it uses routes.php file. It has the following line

which routing the link into execution of some_function of some_class with input of 5, so that it should reroute into:

but it doesnít, it routes to default home address instead.

Seems that IIS cannot parse

Do I miss something? I'm guessing that this is webserver problem. Is it possible if the problem lies on PHP configuration?

Iím using php5.1.4, IIS6 and MSSQL server 2003.
IIS is reading php using CGI


Is This A Good Question/Topic? 0
  • +

Page 1 of 1