Fixed some mistakes from the previous commit
Send a HTTP 404 response instead

Makes it even more difficult for script kiddies.