Hi.. i installed revolution today and i like it..
its slower than evolution but ok..
i wanted to try the context feature but it doesnt work for me.
what i want:
www.mydomain.de and subdomain.mydomain.de working with modx.
1.so i created a secont context (or better a third one) and entered teh variables i need.
--> picture
2.i edited the index.php:
/* Initialize the default 'web' context */
//$modx->initialize('web');
/* setup for multiple domains */
switch(strtolower(MODX_HTTP_HOST)) {
case 'www.mydomain.de:80':
case 'www.mydomain.de':
$modx->initialize('web');
break;
case 'subdomain.mydomain.de:80':
case 'subdomain.mydomain.de':
$modx->initialize('amos');
break;
default:
// by default / if no other rule can be applied, load 'web' context
$modx->initialize('web');
break;
}
what i get is a 503
what am i doing wrong ?