Index: bootstrap.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v retrieving revision 1.69 diff -u -w -b -r1.69 bootstrap.inc --- bootstrap.inc 9 Oct 2005 21:51:43 -0000 1.69 +++ bootstrap.inc 16 Oct 2005 16:28:56 -0000 @@ -116,6 +116,8 @@ $confdir = 'sites'; $uri = explode('/', $_SERVER['PHP_SELF']); $server = explode('.', str_replace(':', '.', rtrim($_SERVER['HTTP_HOST'], '.'))); + // if the default port is specified, strip it + if ($server[1] = 80) unset($server[1]); for ($i = count($uri) - 1; $i > 0; $i--) { for ($j = count($server); $j > 0; $j--) { $dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i)); ***** CVS exited normally with code 1 *****