[eluser]msteudel[/eluser]
Hi all,
I'm migrating my dev environment up to the "live-dev" server, which has a different domain name than my local dev environemnt.
I've setup a switch statement in my config file to automatically handle the domain name changes:
e.g.
Code:
switch( $_SERVER['HTTP_HOST'] ) {
case "domain.com":
$url = 'http://domain.com/';
break;
case "dev.live-domain.com":
$url = 'http://dev.live-domain.com/';
break;
}
But I'm getting 404 when I try and hit my controller. Though I do get the codeingniter 404 page, vs just a regular 404 page. I can also access some of my static assets:
e.g. dev.live-domain.com/css/styles.css returns my file.
I'm hosting the live dev server on go-daddy.
Thanks, Mark