Welcome Guest, Not a member yet? Register   Sign In
My .htaccess works, but not with CI
#6

[eluser]dejavu[/eluser]
Thanks buddy! That wasn't the problem, but the next config option down fixed it:

Code:
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of "AUTO" works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO'      Default - auto detects
| 'PATH_INFO'   Uses the PATH_INFO
| 'QUERY_STRING'  Uses the QUERY_STRING
| 'REQUEST_URI'   Uses the REQUEST_URI
| 'ORIG_PATH_INFO'  Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol'] = "REQUEST_URI";

It was using QUERY_STRING, which as you can see above is the one URI/path value that's returning as empty.


Messages In This Thread
My .htaccess works, but not with CI - by El Forum - 11-11-2009, 06:32 PM
My .htaccess works, but not with CI - by El Forum - 11-11-2009, 07:04 PM
My .htaccess works, but not with CI - by El Forum - 11-11-2009, 07:12 PM
My .htaccess works, but not with CI - by El Forum - 11-11-2009, 07:16 PM
My .htaccess works, but not with CI - by El Forum - 11-11-2009, 07:24 PM
My .htaccess works, but not with CI - by El Forum - 11-11-2009, 07:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB