Basic HTML version of Foils prepared June 30 1996

Foil 28 The Flow of Data amongst the Client, Server and CGI Script

From A Tutorial on Base Web Technologies CRPC Annual Meeting/NASA Langley/Trip to China -- May 14-17 June 10-13 1996 July 12-18 1996. by Geoffrey Fox


1 The client sends a request, conforming to the URL standard and formatted with a MIME header, to the server.
2 The server parses the request and decides what to do:
  • for FTP and other services, the server makes an appropriate request of its operating system and responds.
  • for HTTP service, it retrieves the file named by the URL and decides what to do based on file type. An html, mpeg, au, or any other file with recognizable file extensions is returned directly to the client with no further processing (except in the case of Server Side Includes - SSI)
  • if the file is executable, the server executes it as a CGI program. The server processes the header to pass execution parameters as environment variables or as a STDIN stream to the CGI program.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Dec 14 1997