Welcome Guest, Not a member yet? Register   Sign In
multiple sites with one root system folder
#1

[eluser]introvert[/eluser]
Hello,

I have some websites that share the same database and have similar funcionality, but they're on different domains. I want to have the same system folder for all of the websites but different views/controllers for each of them.

I have come across tutorial how to use CI for multisites with symlinks but I cannot use them with my host provider and I would prefer another solution.

Which are the alternatives?

I also found modLoader but I'm unsure if thats what I need for what I want to implement. There doesnt seem to be any good documentation it available.

How can this be done?

Thanks a lot for help!
#2

[eluser]John_Betong[/eluser]
 
http://johns-jokes.com/_menu.php

Check out the above link and follow the links and/or search the forum for other solutions.
 
 
 
#3

[eluser]MurkeyDismal[/eluser]
I followed Greg Goforth's article and have multiple sites under multiple domain names, all on the same server of course. Hope it helps.
#4

[eluser]introvert[/eluser]
I'm looking for a solution, that will allow me to share the application folder as well. The tutorial above shares only the system part of CI. Any idea?

Thanks!
#5

[eluser]rogierb[/eluser]
Its basically the same as sharing the systems folder. Just edit you index.php to match the appropriate appliation folders and off you go.

Just make sure your base_url is set properly:
$config['base_url'] = "http://".$_SERVER['SERVER_NAME'] or something similar
#6

[eluser]Phil Sturgeon[/eluser]
I wrote an article showing how to get multiple CodeIgniter sites running on one codebase and they can have the same or different data depending on how you set up your switch.




Theme © iAndrew 2016 - Forum software by © MyBB