I have set up a CI 3 app on localhost (MAMP) and it works fine but when I upload it to the server (Ubuntu 12.04 LAMP) it shows 404 error page. The issue is not with the server configuration because when I upload CI 2.1.4 it works fine. There are no errors in the php error log.
I am using apache2 and php5.5.11
Any help would be very much appreciated. Thanks in advance.