This preview shows page 1. Sign up to view the full content.
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 preﬁx
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 sufﬁx
/index.html to ﬁnd the ﬁle on its ﬁlesystem, and to determine whether the request is for static or dynamic content. There are several important points to understand about how servers interpret the sufﬁx 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 ﬁles 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 sufﬁx 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.
- Spring '10
- The American