Welcome Guest, Not a member yet? Register   Sign In
Works in localhost (WAMP), but not on actual server
#1

[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

The page you requested was 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?


Messages In This Thread
Works in localhost (WAMP), but not on actual server - by El Forum - 05-23-2010, 07:22 PM
Works in localhost (WAMP), but not on actual server - by El Forum - 05-24-2010, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB