404 on controller with query string |
[eluser]mrmuggles[/eluser]
I developed a website with CI on my computer (Windows/Apache) and it’s working fine. (PHP/5.3.1 and CI 1.7.2) I migrated to a php 5.3.6 Linux/Apache server. When I call a controller with a query string, it shows a 404 on the new server. But it works with a controller at the ROOT of the "controller" folder, but not inside a folder. Code of my controller : Code: <?php My .htaccess : Code: RewriteEngine on In config.php : $config['uri_protocol'] = "AUTO"; $config['enable_query_strings'] = TRUE; If I call /test/test it works If I call /test/test? it works If I call /test/test?abc gives a 404 I read there http://stackoverflow.com/questions/28942...tring-urls that you need to put PATH_INFO for uri_protocol, but if I do, only the default controller is called... Any idea? |
Messages In This Thread |
404 on controller with query string - by El Forum - 05-29-2011, 02:56 PM
404 on controller with query string - by El Forum - 05-29-2011, 03:05 PM
404 on controller with query string - by El Forum - 06-02-2011, 07:05 AM
404 on controller with query string - by El Forum - 06-02-2011, 07:36 AM
404 on controller with query string - by El Forum - 06-02-2011, 09:31 AM
|