Welcome Guest, Not a member yet? Register   Sign In
how to config in WAMPSERVER
#3

Regarding the base_url:

I like to work my projects based on the URL that they'll be running on. Say you're developing a new version of codeigniter.com. I would then change my local hosts-file, so that codeigniter.com would point to 127.0.0.1. Then change the Apache settings in the WAMP server, so that it knows that when you type in codeigniter.com in your browser (which is redirected to your local WAMP server by the hosts file) it needs to direct you to the correct htdocs.

In CI, you can then set codeigniter.com as base_url.

Added bonus: When you upload the project to the final destination, you don't need to change this value Smile
Reply


Messages In This Thread
how to config in WAMPSERVER - by aafzal - 12-02-2014, 08:44 AM
RE: how to config in WAMPSERVER - by includebeer - 12-02-2014, 12:27 PM
RE: how to config in WAMPSERVER - by Thyrosis - 12-02-2014, 02:03 PM
RE: how to config in WAMPSERVER - by includebeer - 12-02-2014, 02:27 PM
RE: how to config in WAMPSERVER - by Hobbes - 12-02-2014, 02:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB