Change the page the user is sent to by drupal_goto().
$path: A Drupal path or a full URL.
$options: An associative array of additional URL options to pass to url().
$http_response_code: The HTTP status code to use for the redirection. See drupal_goto() for more information.
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_drupal_goto_alter(&$path, &$options, &$http_response_code) {
// A good addition to misery module.
$http_response_code = 500;
}