![]() |
Mod_rewrite Failure - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Mod_rewrite Failure (/showthread.php?tid=38148) |
Mod_rewrite Failure - El Forum - 01-31-2011 [eluser]gorfdo[/eluser] In moving up to CI 2.0 i am having problems with the mod_rewrite below is the output from the mod_rewrite log. 127.0.0.1 - - [31/Jan/2011:11:07:34 --0600] [2costaricalink/sid#d80c80][rid#a3600b0/initial] (2) [per-dir C:/wamp/www/2costaricalink/] rewrite ggg/web/discount-packages/costa-rican-discovery.htm -> /index.php/gegegegeg 127.0.0.1 - - [31/Jan/2011:11:07:34 --0600] [2costaricalink/sid#d80c80][rid#a3600b0/initial] (1) [per-dir C:/wamp/www/2costaricalink/] internal redirect with /index.php/gegegegeg [INTERNAL REDIRECT] 127.0.0.1 - - [31/Jan/2011:11:07:34 --0600] [2costaricalink/sid#d80c80][rid#1bdc5f8/initial/redir#1] (1) [per-dir C:/wamp/www/2costaricalink/] pass through C:/wamp/www/2costaricalink/index.php this is a test case and it looks like it rewrites to gegegeg like it should but CI never seems to see it DEBUG - 2011-01-31 11:07:34 --> /ggg/web/discount-packages/costa-rican-discovery.htm DEBUG - 2011-01-31 11:07:34 --> uri string ggg/web/discount-packages/costa-rican-discovery.htm ERROR - 2011-01-31 11:07:34 --> 404 Page Not Found --> ggg have i missed a new config setting?? Mod_rewrite Failure - El Forum - 01-31-2011 [eluser]gorfdo[/eluser] In looking into URI.php, in the new version if "auto" is set, the system checks for a viable "REQUEST URI" first, then uses it. The mod_rewrite stuff ends up in "PATH_INFO" which is tested after. Maybe I am doing something backwards, but mod_rewrite will not work with "auto". |