WebServers

WebServers - Lecture The Web Server Copyright Ellis...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Web Servers Copyright © Ellis Horowitz 1998-2010 1 Lecture The Web Server
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web Servers Copyright © Ellis Horowitz 1998-2010 2 Outline • Available Web Servers • Server Features – Document Root – Authentication – Proxy Servers – Caching – CGI Scripting – Application Program Interface • Configuring a Server • Analyzing a Server’s Performance • Server Log Files
Background image of page 2
Web Servers Copyright © Ellis Horowitz 1998-2010 3 What Does the WWW Server Do? Enables browser requests • Mainly provides Support for retrieving hypertext documents Manages access to the Web site Provides several mechanisms for executing server-side scripts • C ommon G ateway I nterface (CGI) • Application Program Interface (API) provides log files and usage statistics
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web Servers Copyright © Ellis Horowitz 1998-2010 4 What to Look for in a Web Server • Main features – platform they run on; – complete support for HTTP 1.1 – Multithreading, load balancing • Security features ability to provide IP address restriction ability to provide domain name restriction Support for secure transactions: SSL or S_HTTP Ability to act as a proxy server
Background image of page 4
Web Servers Copyright © Ellis Horowitz 1998-2010 5 How Servers Handle Multiple Requests • For each request, a complete copy of the server is made and executed – Initially a parent process waits for requests; for each new request a child process is spawned • Or, a single server program handles many requests simultaneously (multithreaded) – the server must keep track of all requests and switch between them as needed – writing multithreaded programs is easier in a language that supports multiple threads, e.g. Java
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Web Servers Application Web Server An application server is software that typically interfaces one or more databases to convey processed data to and from a user interface such as a web browser The term was originally used when discussing early client–server server systems and servers that run SQL services and middleware servers to differentiate them from file servers. Later, the term took on the meaning of web applications Copyright © Ellis Horowitz 1998-2010 6 An application server acts as a set of components accessible to the software developer through an API For web applications, these components are usually performed in the same machine where the web server is running, and their main job is to support the construction of dynamic pages. For example, Apache Tomcat is a popular, light-weight application container, but not a full application server as it doesn't provide the services specified in the JavaEE or J2EE specification. The web modules include servlets and JavaServer Pages. Business logic resides in Enterprise JavaBeans.
Background image of page 6
Web Servers Copyright © Ellis Horowitz 1998-2010 7 Web Servers Publisher Product Platform apache apache Win32/UNIX http://httpd.apache.org/ Microsoft IIS 7.x Win32 http://www.microsoft.com/WindowsServer2003/iis/default.mspx
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 66

WebServers - Lecture The Web Server Copyright Ellis...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online