Distinguishing Scripts from Static Documents Each Web server specifies what directories or files can contain scripts. NCSA httpd usually uses cgi-bin directory for scripts. The Overview document illustrated a form that executed a script to print the users logged onto ei.cs.vt.edu. Click here to see the script. However, it could be in another language.
Script requires no input.
Minimal HTTP header is to provide Content-type header field. Note that two new-lines follow first print statement, because a blank line terminates HTTP headers. Script writes an HTML file after the HTTP header. UNIX finger . Exit status of zero is returned.