Gone is a project mainly written in PHP, it's free.
HTTP 410 Gone for Drupal nodes. Embracing the impermanence of all things. Deprecated: This this is implemented by https://www.drupal.org/project/http_status_code
404: Not Found