Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Web Server

a awesome ppt about Web Server

  • Be the first to comment

Web Server

  1. 1. Created by Roni Web Server What is Web Server? Web Server is a program that uses HTTP to serve files that create web pages to users in response to their requests, which are forwarded by their computers HTTP connection. Mainly A Web server is a program to satisfy client requests for Web resources. 01
  2. 2. Created by Roni Web Server What are Web Servers Used For? Web servers are primarily used to store process and deliver the pages of a web site to users. In layman’s terms, this means that web servers are what make websites appear when you type in a URL. 02
  3. 3. Created by Roni Web Server Types of Web Servers There are 4 primary web servers: Currently, Apache is the most popular with IIS gaining in popularity and soon becoming the most popular web server. nginx is an extremely popular alternative as it is very fast and very lightweight, while GWS is the least used with a small percentage of use. 03 IISApache GWSnginx Provides by Apache Provided by Microsoft Provided by NGINX Provided by Google
  4. 4. Created by Roni Computers connected to the web are called clients and servers. A simplified diagram of how they interact might look like this (Diagram). How Web Servers Work? 04 Web Server • Clients are the typical web user's internet- connected devices (for example, your computer connected to your Wi-Fi, or your phone connected to your mobile network) and web-accessing software available on those devices (usually a web browser like Firefox or Chrome). • Servers are computers that store webpages, sites, or apps. When a client device wants to access a webpage, a copy of the webpage is downloaded from the server onto the client machine to be displayed in the user's web browser.
  5. 5. Created by Roni Web Server 05 Steps in Handling a Client Request A Web server proceeds through the following steps in handling an HTTP request:  Read and parse the HTTP request message for example GET the resource /itwd.htm  Translate the URL to a file name for example the resource be located in the base directory such as /www, where the URL corresponds to the file of www/foo/index.html
  6. 6. Created by Roni Web Server 06 Steps in Handling a Client Request A Web server proceeds through the following steps in handling an HTTP request:  Determine whether the request is authorized  Generate and transmit the response that includes header to show the status information
  7. 7. Created by Roni Web Server 07 Access Control AuthorizationAuthentication Accesscontrol A Web server may limit which users can access certain resources. Access control requires a combination of authentication and authorization.  Authentication identifies the user who originated the request.  Authorization determines which users have access to a particular resource.
  8. 8. Created by Roni Web Server 08 Dynamically Generated Responses  This feature differentiates the Web from earlier file transfer services on the Internet.  Dynamically generated responses are created in a variety of ways:  Server-side include  Server script
  9. 9. Created by Roni Web Server 09 Creating and Using Cookies  Cookies are typically created, used, and modified by scripts invoked to generate dynamic responses, rather than by the Web server.  The browser can be instructed to include a unique cookie in each HTTP request.  If the request does not include cookie, the script create a new cookie and include the cookie in the header of the response message Set-Cookie: Customer="user17"; Version="1"; Path="/book" Subsequent requests from the user would include the cookie Cookie: Customer="user17"; Version="1"; Path="/book"
  10. 10. Created by Roni Web Server A Web server reference architecture OperatingSystemAbstractionLayer Reception Request Analyzer Access Control Resource Handler Transaction Log OperatingSystem Client Machine Request ResponseBrowser 10
  11. 11. Presentation name goes here THANK YOU Name: Rokibul Islam Roni Enroll: 16001256 B.Tech CSE-III