--- bootstrap.inc	2005-10-26 14:07:24.932506400 -0400
+++ bootstrap.inc.new	2005-10-26 14:06:13.981651900 -0400
@@ -49,7 +49,7 @@
   }
 
   $confdir = 'sites';
-  $uri = explode('/', $_SERVER['PHP_SELF']);
+  $uri = explode('/', request_uri());
   $server = explode('.', rtrim($_SERVER['HTTP_HOST'], '.'));
   for ($i = count($uri) - 1; $i > 0; $i--) {
     for ($j = count($server); $j > 0; $j--) {
