1 protocol is documented in rfc 2616 homework

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: bin/adder that will be called with two argument strings: 15000 and 213. Clients and servers use different parts of the URL during a transaction. For example, a client uses the prefix http://www.aol.com:80 to determine what kind of server to contact, where the server is, and what port it is listening on. The server uses the suffix /index.html to find the file on its filesystem, and to determine whether the request is for static or dynamic content. There are several important points to understand about how servers interpret the suffix of a URL: ¯ ¯ ¯ There are no standard rules for determining whether a URL refers to static or dynamic content. Each server has its own rules for the files that it manages. A common approach is to identify a set of directories, such as cgi-bin, where all executables must reside. The initial ’/’ in the suffix does not denote the Unix root directory. Rather is denotes the home directory for whatever kind of content is being requested. For example, a server might...
View Full Document

This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online