|
||||||||||||||||||||||||||||||||||||||||||
Web Technology
part i - Introduction |
Web Ch2- Introduction to WWW, Con't...
1.6 Web Servers As mentioned earlier, the most commonly-used Internet-based application is now the World Wide Web. The recent growth of interest in in the Internet is the result of the growth of interest in the World Wide Web.The World Wide Web is built upon a protocol called Hypertext Transport Protocol (HTTP). HTTP is designed to a small, fast protocol that is well suited for distributed multimedia information systems and hypertext jumps between sites.
The web consists of pages of information on hosts running web-server software. The The original World Wide Wed development was all performed under different flavors of UNIX. The majority of web servers still run on UNIX boxes, but this is changing. there are now web server versions for almost every major operating system. Web servers hosted on high performance operating systems, like Windows NT, are becoming more and more popular. This is because UNIX is still more expensive to run than Windows NT and is also more difficult to use for the average user. Window NT has proven itself to be an efficient, reliable, and cost-effective platform for hosting web servers. As a result, NT's slice in the web server operating system pie is growing. What exactly is a web server? A web server is a program that serves up web pages upon request. Web servers typically don't know or care what they are serving up. When a user at a particular IP address requests a specific file, the web server tries to retrieve that file and send it back to the user. The requested file might be the HTML source code for a web page, a GIF image, VRML worlds, AVI files, and so on. It is the web browser that determines what should be requested, not the web server. All the server does is process that request, as shown in the following figure.
Connections to web servers are made on an "as needed" basis. If you request a web page from a web server, an IP connection is made over the Internet between your host and the host running the web server. The request web page is sent over that connection and, as soon as the page is received, the connection is broken. If the received page contained references to additional information to be downloaded, each would be retrieved using a new connection. A web page with five pictures in it, therefore, takes at least six requests, or hits, to retrieve it all. This is why the number of hits is such a misleading measurement of web server activity. when you learn of web servers that receive millions of hits in one day, it might not mean that there were millions of visitors. Hits do not equal number of visitors or pages viewed. The number of hits is meaning less in determining now many visitors you web site has had.Web servers are often not the only IP-based applications running on a single host. In fact, aside from performance issues, there is no reason why a single host cannot run multiple services. For example, a web server, FTP server, DNS server, and a SMTP POP3 mail server can run at the same time. To ensure that each server application only responds to requests and communications from appropriate clients, each server is assigned a port address. If IP addresses are like street addresses, ports can be thought of as apartment or suite numbers. Most servers use a standard set of port mappings, and some of the more common ports are listed in the table bellow. Most Web servers use port 80, but you can change that. If desired, web servers can be installed on nonstandard ports to hide web servers. You can also host multiple web servers on a single computer by mapping each one to a different port. Remember that if you do use a nonstandard port mapping, users will need to know the new port number to be able to connect to your server.
|
References(1) the Cold Fusion Web Application Construction Kit, Second Edition.
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||