Welcome Guest, Not a member yet? Register   Sign In
multi domain in codeigniter
#2

[eluser]Phil Sturgeon[/eluser]
If you are hosting multiple domains on the same server and you have root access to the file system (or simply write permissions to those directories) then you can put codeigniter anywhere you like.

On as *nix based machine, i'd reccomend renaming systems folder to codeigniter and putting it as below:

Quote:/usr/local/codeigniter (this is the system folder)

/usr/<path to your account)/public_html (this is your application folder)

/usr/<path to your account)/public_html/index.php
/usr/<path to your account)/public_html/config
/usr/<path to your account)/public_html/controllers
/usr/<path to your account)/public_html/models
... etc.

Then just put those paths into your index.php file. 1 index file, one controllers folder, one config fodler, etc for each domain.


Messages In This Thread
multi domain in codeigniter - by El Forum - 12-01-2008, 05:20 AM
multi domain in codeigniter - by El Forum - 12-01-2008, 09:08 AM
multi domain in codeigniter - by El Forum - 12-02-2008, 01:32 AM
multi domain in codeigniter - by El Forum - 12-02-2008, 04:11 AM
multi domain in codeigniter - by El Forum - 12-02-2008, 04:56 AM
multi domain in codeigniter - by El Forum - 12-02-2008, 05:05 AM
multi domain in codeigniter - by El Forum - 12-02-2008, 06:22 AM
multi domain in codeigniter - by El Forum - 08-29-2010, 10:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB