Fork of fast_404 module for Drupal, have some fixes for some issues that we found. Original Here https://www.drupal.org/project/fast_404