Nm-redirector is a project mainly written in Python, it's free.
Redirect to a given URL
404: Not Found