Welcome Guest, Not a member yet? Register   Sign In
Scalable architecture
#5

[eluser]eoinmcg[/eluser]
virtual hosts allow you to server multiple sites from one web server.

you can read more about symbolic links here: http://en.wikipedia.org/wiki/Symbolic_link

so, let's assume your webserver looks something like this:
/home/txomin/public_html/site1/
/home/txomin/public_html/site2/
/home/txomin/public_html/site3/

if these three sites are all running more or less the same code updating one by one is going to be a bit of a timewaster. so, if we create a 'master' site
/home/txomin/public_html/master

then you in each of the sites you can create a symbolic link back to your codeigniter app, for example:
ln -s /home/txomin/public_html/master/system /home/txomin/public_html/site1/system

no how that would work on windows though Tongue

alternatively, you could use some form of version control (SVN, GIT etc) and update each site by checking out the master copy


Messages In This Thread
Scalable architecture - by El Forum - 04-14-2010, 04:52 PM
Scalable architecture - by El Forum - 04-15-2010, 12:25 AM
Scalable architecture - by El Forum - 04-15-2010, 04:48 AM
Scalable architecture - by El Forum - 04-15-2010, 05:03 AM
Scalable architecture - by El Forum - 04-15-2010, 05:10 AM
Scalable architecture - by El Forum - 04-15-2010, 05:13 AM
Scalable architecture - by El Forum - 04-15-2010, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB