On Thu, 01 Nov 2007 08:39:14 -0400
Claude Boucher <bouchecl(a)gmail.com> wrote:
<?php
$callingURL = strtolower($_SERVER['REQUEST_URI']); //the requesting
url if ( strpos( $callingURL, 'wikiA') ) {
require_once('wikiALocalSettings.php');
}
else if ( strpos( $callingURL, 'wikiB') ) {
require_once('wikiBLocalSettings.php' );
}
?>
If I may ask, if I'm not mistaken, if you just put in the wrong wiki
name (such as "baz.foobar.net") (and have a wildcard CNAME record), it
looks like it will simply fail. Is there something I can do in that
LocalSettings.php file that will catch all the wildcard stuff that
doesn't seem to exist?
-Dennis