core
Drupal Tip #3: 403 and 404 errors
Module: Drupal core
Drupal Version: 4.7.2
Instead of using the default drupal error handling settings (administer > settings > error handling), consider using user/login as the default 403 page (instead of a node), or consider writiing a script that uses the referrer of the error (for 404) and passing onto the search module.
This tip brought to you from DrupalCamp.