? boost-619934.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.215
diff -u -p -r1.3.2.2.2.5.2.215 boost.module
--- boost.module	1 Nov 2009 00:10:07 -0000	1.3.2.2.2.5.2.215
+++ boost.module	1 Nov 2009 04:13:15 -0000
@@ -172,9 +172,10 @@ function boost_init() {
   $path = implode($base_path, $path);
   $path = explode('?', $path);
   $path = array_shift($path);
-  if ($path != '' && $_REQUEST['q'] == '') {
+  if ($path != '' && $_REQUEST['q'] == '' && isset($_SERVER['REDIRECT_STATUS']) && $_SERVER['REDIRECT_STATUS'] = 404) {
     $GLOBALS['conf']['cache'] = CACHE_DISABLED;
     $GLOBALS['_boost_cache_this'] = FALSE;
+    //watchdog('boost', boost_print_r($_SERVER, TRUE));
     drupal_not_found();
     return;
   }
