Welcome Guest, Not a member yet? Register   Sign In
Separating the main "/system" folder out of WWW root for multiple web apps?

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?


I do it this way:
* the public url

* the actual application

* the system folder
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).

sweet. thanks guys

Theme © iAndrew 2016 - Forum software by © MyBB