If have specific properties for different server name. I came up with following:
So now, even if the Domain is $S2_SN it takes the $S1_SN properties...
Code:
$Server = "$ENV{'SERVER_NAME'}";
$S1_SN = '[URL unfurl="true"]www.domain1a.com'[/URL] || '[URL unfurl="true"]www.domain1b.com';[/URL]
$S2_SN = '[URL unfurl="true"]www.domain2a.com'[/URL] || '[URL unfurl="true"]www.domain2b.com';[/URL]
Code:
if ($Server == $S1_SN) {
$stylesheet = 'style.css';
}
else {
$stylesheet = 'style2.css';
}
So now, even if the Domain is $S2_SN it takes the $S1_SN properties...