• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Separating the main "/system" folder out of WWW root for multiple web apps?

#1
[eluser]taewoo[/eluser]
Hi all.
I have multiple web applications (that do totally different, unrelated things) written in CI. It seems to me the main CI "plumbing" should be removed from the WWW root since this stuff doesn't change (unless official versions of CI are released in which case update is done - but this occurs rarely).

Is there a "clean" way to host multiple applications using one CI copy/instance on my web server?

#2
[eluser]ehicks727[/eluser]
http://codeigniter.com/wiki/Multiple_Applications/

#3
[eluser]fesweb[/eluser]
I do it this way:
Code:
* the public url
/myapp/

* the actual application
/code/ciapps/myapp/

* the system folder
/code/CI_1.6.3/mysystemfolder/
This allows me to:
1. easily upgrade and downgrade any application independently from the others, in case something doesn't work with newer version of CI.
2. run variants of the same application at two different public urls (ex: "/myapp2/" could point to the same app).

#4
[eluser]taewoo[/eluser]
sweet. thanks guys


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.