--- globalredirect.module       2008-07-08 05:09:18.000000000 -0600
+++ globalredirect.module       2008-10-01 15:14:49.000000000 -0600
@@ -22,7 +22,7 @@
   //We need to do a test to make sure we only clean up URL's for the main request. This stops modules such as
   //  the Ad Module which had its own script in its folder doing a bootstrap which invoked hook_init and caused some banners to get "cleaned up"
   //  See issue: http://drupal.org/node/205810
-  if ($_SERVER['SCRIPT_NAME'] != '/index.php') return false;
+  if (!strpos($_SERVER['SCRIPT_NAME'], '/index.php')) return false;
 
   /**
    * We need to make sure this hook only fires in certain conditions:

