Please consider querystring support in 2.x |
[eluser]kungfun[/eluser]
Hi, Great thread and i'd love to see a great solution for this. The issue i'm having is in respect to different server configurations. Most of the methods work as long as you can use PATH_INFO, however the production server we're on doesn't have it. Its php as cgi. We've tried http://github.com/dhorrigan/codeigniter-query-string the My_Input sanitize globals and a couple others that require PATH_INFO, so not really an option All work great on the dev servers. So we've tried setting AccepthPathInfo to On, cgi.fix_pathinfo to 1. but neither seemed to affect anything. Our rewrite rule therefore needs to be RewriteRule ^(.*)$ index.php?/$1 [L] Since it does not accept urls like index.php/controller/method only index.php?/controller/method So if we try to add a querystring to the end we end up with index.php?/controller/method?test=test, and this ends up 404 page. Has anyone gotten querystring + segment support, if they're still using the same rewrite rule as above? Or anyone know a rewrite rule that will just remove the querystring before we do the final rewrite? Need a workaround at the very least. Thanks. |
Welcome Guest, Not a member yet? Register Sign In |