First of all I’m using codeigniter for the web app, which is hosted on php4 environment someday I moved the apps to another shared host which have php5 installed , on my URI_PROTOCOL in config.php files , I change
$config[‘uri_protocol’] = “PATH_INFO”;
And then when testing the apps there was some problem with the route dunno is this an issue or else, it really takes time for me to find out why the route always looping back again again and again, my first guess was on htaccess that maybe the mod_rewrite module doesnt work, but the guess was wrong , and then I checked again on web apps route.php, hook configuration, site path, base dir, my adventure end in URL.php bcoz the segments/rsegments always return none.
Try to print out $_SERVER variable , and now so this is the problem , the PATH_INFO variable was gone no where, but there is ORIG_PATH_INFO, an so my first guess of the problem was on PHP version so then I found this article,
,well I think its explained very well, on his condition it happen when he use .htaccess redirect and in my condition it happen when I use .htaccess mod_rewrite.
PATH_INFO relies on the Apache AcceptPathInfo Directive