I've got the focuslab config set up and everything works fine on localhost. However my staging server it doesn't work. I've determined that it's likely due to using an ipaddress in the host for config.env.php
case '111.222.333.444' :
define('ENV', 'stage');
define('ENV_FULL', 'Staging');
define('ENV_DEBUG', FALSE);
break;
default :
define('ENV', 'local');
define('ENV_FULL', 'Local');
define('ENV_DEBUG', TRUE);
break;
If I take one of my domains and use it as a pointer domain on the same server and change the ip to the domain it works. Unfortunately I can't keep that domain pointed there as I did that just for testing.
So the non work is http://111.222.333.444/~username
but if I point a domain to the same host it works.
Is there some way to get master config to work with an ip address instead of a domain?