This preview shows page 1. Sign up to view the full content.
Unformatted text preview: by conﬁgured so that all static content is stored in directory /usr/httpd/html and all dynamic content is stored in directory /usr/httpd/cgi-bin. The minimal URL sufﬁx is the ’/’ character, which all servers expand to some default home page such as /index.html. This explains why it is possible to fetch the home page of a site by simply typing a domain name to the browser. The browser appends the missing ’/’ to the URL and passes it to the server, which expands the ’/’ to some default ﬁle name. 12.7.3 HTTP Transactions
Since HTTP is based on text lines transmitted over Internet connections, we can use the Unix TELNET program to conduct transactions with any Web server on the Internet. The TELNET program is very handy for debugging servers that talk to clients with text lines over connections. For example, Figure 12.41 uses TELNET to request the home page from the AOL Web server. 12.7. WEB SERVERS 649 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 unix> telnet www.ao...
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