Welcome Guest, Not a member yet? Register   Sign In
set up multiple applications
#6

(01-16-2020, 11:49 AM)jreklund Wrote: Are there any reason you need to do it like that? Because that just look like you are going to dig a big hole in the ground and never get out of it.

I would recommend setting up virtual hosts (multiple domains) and send environment variables from apache into CI. And change your application directory path. So you can access it normally.
Hi,
Thanks for your reply.
Here's my need :
I need to run my test code if my url contains "test"
I need to run my prod code if my url contains "prod"
I need to run my code with database application1 id my url contains "application1"
I need to run my code with database application2 id my url contains "application2"

I don't know If I followed the good way, that's why I asked if someone could help me.

I would recommend setting up virtual hosts (multiple domains) and send environment variables from apache into CI.
=> Thanks I'm going to investigate further on that point

And change your application directory path. So you can access it normally.
=> Done by using two index files
Reply


Messages In This Thread
set up multiple applications - by fredg - 01-14-2020, 08:38 AM
RE: set up multiple applications - by fredg - 01-16-2020, 04:04 AM
RE: set up multiple applications - by php_rocs - 01-16-2020, 11:43 AM
RE: set up multiple applications - by fredg - 01-16-2020, 01:21 PM
RE: set up multiple applications - by jreklund - 01-16-2020, 11:49 AM
RE: set up multiple applications - by fredg - 01-16-2020, 01:31 PM
RE: set up multiple applications - by fredg - 01-17-2020, 01:39 AM
RE: set up multiple applications - by fredg - 01-17-2020, 04:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB