Hacker News new | past | comments | ask | show | jobs | submit login

OP suggests 404 Not Found, but there’s also argument to made for a 5xx server error. After all, this “hello” front page pops up not because of client error, but because the server has not been configured properly.



I like this idea.

What about "518 - teapot not configured" ?


You should not publicly admit you are unconfigured, attackers might take advantage.


Which on the opposite side, default configurations should disable as much as possible as to reduce attack surface.


Now you'd have to argue the semantics of what it means to be misconfigured. Is it misconfigured just because the placeholder index hasn't yet been replaced? How does the server know?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: