Routes problem on server. Returning 404. - 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: Routes problem on server. Returning 404. (/showthread.php?tid=37591) |
Routes problem on server. Returning 404. - El Forum - 01-14-2011 [eluser]Unknown[/eluser] Ok, this is the first time I've attempted to set up a website on a VPS and im not entirely sure what settings/services are required/not required to run a CI app. So, the problem could be there.. Typically, my custom routes work fine on localhost. :-P However, I can only see pages following the standard format of "example.com/class/function/id/". In my error log: -DEBUG - 2011-01-14 13:00:08 --> Config Class Initialized -DEBUG - 2011-01-14 13:00:08 --> Hooks Class Initialized -DEBUG - 2011-01-14 13:00:08 --> URI Class Initialized -ERROR - 2011-01-14 13:00:08 --> 404 Page Not Found --> Client Things I have tried so far: - changing the uri_protocol - using other .htaccess files Services: -PHP support Y (run as Apache Module, PHP 'safe_mode' on ) -CGI support Y -Perl support Y -FastCGI support Y (required for Ruby on Rails) Again, I'm new to this so I'm not sure if I should be running CGI and Apache. :-S Why can't it be as easy as XAMPP? :-P Any advice/help is appreciated. Thanks, Umut Routes problem on server. Returning 404. - El Forum - 01-14-2011 [eluser]Unknown[/eluser] SOLVED. The problem was "Client" should have been "client" - lowercase.. this drove me mad :-( Anyone know what setting on my server could have caused this to be a problem? |