Welcome Guest, Not a member yet? Register   Sign In
Mod_rewrite Failure
#1

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

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




Theme © iAndrew 2016 - Forum software by © MyBB