Web server
Upcoming SlideShare
Loading in...5
×
 

Web server

on

  • 892 views

 

Statistics

Views

Total Views
892
Views on SlideShare
892
Embed Views
0

Actions

Likes
0
Downloads
19
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Web server Web server Presentation Transcript

  • < Web Server /> By Touhid Arastu http://ara stu .ir
  • Web Server Refer ToSoftware & Hardware
  • Web Server In common helps to deliver contentthat can be accessed through the Internet.
  • • NeXTSTEP Create in Next company• Tim Berners-Lee Develop First Web Server In Cern
  • In 1989the worlds first web serverlater known as CERN httpd which ran on NeXTSTEP.
  • How to work?
  • Web Server Application Run As Process In OS Web server OS
  • Web Server Listen To Special Port, ex 80 Web Server 80
  • When Request Received, Handle It. Web Server Handel Response RequestRequest
  • Create Response And Sent Back It To Client Web Server Handel Response RequestRequest
  • HandlePath Translation Request
  • Web servers are able to map the path component of a Uniform Resource Locator (URL)• a local file system resource => •Static Request• an internal or external program name => •Dynamic request
  • URL Structurescheme://domain:port/path?query_string#fragment_id http://arastu.ir/slides/ilug/web_server.pdf
  • Web Server Append The Given Path To The Path Of Its Root DirectoryRoot Directory Specified With Web Server Configs
  • http://arastu.ir/slides/ilug/web_server.pdf/home/arastu/www/arastu.ir/slides/ilug/web_server.pdf
  • Based On Web Server Configs, CreateResponse Dynamically Or Return Static file. If Error acquired, Return Error.Dynamic Content Create With Server Side Programming language
  • Handle Connections
  • When Request Received Web Server:• Create A New Process In Os• Fork A New Thread• Use One Thread For AllConnection
  • Comparison Use Server resourceStart Process > Fork New Thread > One Thread for All Connection
  • Comparison Using Web Server In Internet, March 2011 Product Vendor Web Site Hosted Percent Apache Apache 179,270, 332 60.31% IIS Microsoft 57,644,692 19.34% Nginx Igor Sysoev 22,806,060 7.65% GWS Google 15,161,530 5.09% Lighttp Lighttp 1,796,471 0.60%
  • Other Common FeatureVirtual HostingLarge file support
  • Any Question? Download This Slide At:http://arastu.ir/slides/ilug/web_server.pdf