How to find out that weather the site is CGI or Non-CGI?
You can sometimes tell by looking at the URL – if it includes /cgi-bin/ or .cgi, then you’re probably looking at a page generated by a program which is being run through CGI. (Remember that CGI is the “Common Gateway Interface” – it is *not* a language! CGI programs can be written in pretty much anything.) This is hardly reliable, though, as it’s not at all difficult to handle pathinfo-style URLs (e.g., http://mysite.com/do/something/1234) with CGI-based code if you so choose. If there isn’t an easy giveaway like that, though, calling and asking the person running the site is pretty much your only option. CGI programs simply print their output, then the web server catches it and sends it to the client (adding headers first if the CGI program didn’t include them in its output). There aren’t any special “this is a CGI application!” markers in the response headers or body which will make it obvious unless the program’s developer chooses to add them.