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

Searching for news.ycombinator.com, I get:

ERROR: Web server not shown in header.

If I search ycombinator.com, I get:

Apache/2.2.14

In the first case, I would recommend either parsing the user input to try and return some reasonable results, or just return a more direct error message.




But they do run on different web servers. The first is a custom Arc-based web service, the latter an Apache install. What could be a more direct error message than stating plainly that the information isn't available?


I don't know, maybe something accurate? Like "server header not understood by beowulf.com"?


Thank you benatkin. That's a more appropriate message to display.


I just did the same thing, and therefore have the exact same suggestion.

Looks like a cool little service, however.


Thanks jlgosse.




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

Search: