![]() |
Works in localhost (WAMP), but not on actual server - 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: Works in localhost (WAMP), but not on actual server (/showthread.php?tid=30703) |
Works in localhost (WAMP), but not on actual server - El Forum - 05-23-2010 [eluser]CodeIgniterNewbie[/eluser] My CI application works fine on my localhost. However, when I upload it to my server, I get: Quote:404 Page Not Found base_url is set dynamically. If $_SERVER["HTTP_HOST"] === 'localhost', then I set base_url to my local configuration. Otherwise, it is set to the location on my server. I've tried all suggested values for uri_protocol. I also added a "?" to index_page. Default controller displays fine on localhost. What could be wrong with my setup? Works in localhost (WAMP), but not on actual server - El Forum - 05-24-2010 [eluser]mattpointblank[/eluser] Maybe just try setting your base_url to a static value and rule out that option first? |