CodeIgniter Forums
Clean URLs don't work after upgrade from 1.7.2 to 2.0.2 - 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: Clean URLs don't work after upgrade from 1.7.2 to 2.0.2 (/showthread.php?tid=44247)



Clean URLs don't work after upgrade from 1.7.2 to 2.0.2 - El Forum - 08-09-2011

[eluser]feel[/eluser]
I recently upgraded my app from 1.7.2 to 2.0.2.

I use mod_rewrite to produce clean URLs without index.php e.g. example.com/controller/action
It is working on my local dev server but when I updated my production app all requests to
example.com/controller/action result in displaying main page (i.e. index.php).

When I access address like that: example.com/index.php/controller/action it works

Mod_rewrite is on as it was working fine with previous code version.
With 1.7.2 I used $config['uri_protocol'] = "AUTO" but now I switched to "PATH_INFO" because auto resulted in 404.

Because it is working on dev I'm wondering if I missed any deployment step...

Any ideas?