I'm looking for a series of 'tells' that indicate what a website was written in and/or what web framework is being used and maybe what web server software is used. Obvious examples would be the page extensions, http headers, page features, like VIEWSTATE, cookie names and such. Obviously, these tells could be faked or suppressed so I'm not looking for a foolproof way but some typical dead giveaways.
Edit: I'd love to have a definitive list of default web page extensions, cookie names and such. I thought of this question because I want to know what a web site with .do was written in (Java Struts, I think) -- but this is a question that comes up all the time.
Edit: Seems a real hard one to tell is Ruby on Rails.
It is assumed that an answer like .asp = Classic ASP means that by default .asp is served by Microsoft's ASP, but not all Classic ASP serves .asp pages and not all .asp pages are served by Classic ASP.