hi, I'm trying to run a wiki such that two different domains will arrive at the same wiki, but land the viewer in different groups. This is mostly working, but I can't figure out the last bit (it did work in a previous version of pmwiki, which adds to my confusion).
Here's the relevant code from my local config.php: ... $ScriptUrl = "http://$_SERVER[HTTP_HOST]"; switch ($_SERVER['HTTP_HOST']) { case 'arosenbyanyothername.com': case 'www.arosenbyanyothername.com': case 'arosenbyanyothername.com.': case 'www.arosenbyanyothername.com.': $DefaultGroup = 'ARosenByAnyOtherName'; // the following needed here now and not getting picked up // out of the group config file because $DefaultGroup is not honoured $WikiTitle = 'A Rosen By Any Other Name'; $Skin = 'Rosen'; break; default: // 'orshalomtheatre.org' $WikiTitle = 'Or Shalom Theatre'; $Skin = 'OST'; } ... I know that the 'Rosen' case is being hit because if I comment out the setting of $WikiTitle and $Skin the site looks very different. However, a visitor to that URL arrives at Main/HomePage instead of the intended group. ideas, anyone..? I'm experiencing this problem with both pmwiki-2.2.0-beta27 and pmwiki-2.1.26 thanks, Shi. _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
