SlideShare a Scribd company logo
1 of 23
Download to read offline
<   Web Server             />
      By Touhid Arastu
      http://ara stu .ir
Web Server
      Refer To
Software & Hardware
Web Server
                In common
          helps to deliver content
that can be accessed through the Internet.
• NeXTSTEP Create in Next
  company


• Tim Berners-Lee Develop
  First Web Server In Cern
In 1989
the world's first web server
later 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
                       Request
Request
Create Response And Sent Back It To Client




                       Web Server

                        Handel       Response
                        Request
Request
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 Structure
scheme://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 Directory




Root 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, Create
Response 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 All
Connection
Comparison Use Server resource




Start 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 Feature
Virtual Hosting
Large file support
Any Question?
          Download This Slide At:
http://arastu.ir/slides/ilug/web_server.pdf

More Related Content

What's hot

introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
vikram singh
 
Web servers – features, installation and configuration
Web servers – features, installation and configurationWeb servers – features, installation and configuration
Web servers – features, installation and configuration
webhostingguy
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
webhostingguy
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarni
webhostingguy
 

What's hot (20)

Web server
Web serverWeb server
Web server
 
HTTP Basics
HTTP BasicsHTTP Basics
HTTP Basics
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
virtual hosting and configuration
virtual hosting and configurationvirtual hosting and configuration
virtual hosting and configuration
 
Web Server And Database Server
Web Server And Database ServerWeb Server And Database Server
Web Server And Database Server
 
Web server
Web serverWeb server
Web server
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and response
 
REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
 
Apache web server
Apache web serverApache web server
Apache web server
 
Web service Introduction
Web service IntroductionWeb service Introduction
Web service Introduction
 
Web servers – features, installation and configuration
Web servers – features, installation and configurationWeb servers – features, installation and configuration
Web servers – features, installation and configuration
 
Client-side JavaScript
Client-side JavaScriptClient-side JavaScript
Client-side JavaScript
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
 
Web servers
Web serversWeb servers
Web servers
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting Started
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarni
 
Apache web service
Apache web serviceApache web service
Apache web service
 
Web services
Web servicesWeb services
Web services
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
 

Viewers also liked (9)

Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
 
Web server
Web serverWeb server
Web server
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
2009 - Microsoft IIS Vs. Apache - Who Serves More - A Study
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
 
Client side scripting and server side scripting
Client side scripting and server side scriptingClient side scripting and server side scripting
Client side scripting and server side scripting
 

Similar to Web server

05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
tarensi
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
20521742
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should Know
Spiffy
 
Itp web application development
Itp web application developmentItp web application development
Itp web application development
Shibu S R
 

Similar to Web server (20)

05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should Know
 
A Byte of Software Deployment
A Byte of Software DeploymentA Byte of Software Deployment
A Byte of Software Deployment
 
Itp web application development
Itp web application developmentItp web application development
Itp web application development
 
slides (PPT)
slides (PPT)slides (PPT)
slides (PPT)
 
Webapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh guptaWebapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh gupta
 
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse ProxyNginx A High Performance Load Balancer, Web Server & Reverse Proxy
Nginx A High Performance Load Balancer, Web Server & Reverse Proxy
 
App fabric introduction
App fabric introductionApp fabric introduction
App fabric introduction
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefIntroduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to Chef
 
Add a web server
Add a web serverAdd a web server
Add a web server
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
Philly Tech Fest Iis
Philly Tech Fest IisPhilly Tech Fest Iis
Philly Tech Fest Iis
 
Type of Web server.pdf
Type of Web server.pdfType of Web server.pdf
Type of Web server.pdf
 
A Tale of 2 Systems
A Tale of 2 SystemsA Tale of 2 Systems
A Tale of 2 Systems
 
Servlet and JSP
Servlet and JSPServlet and JSP
Servlet and JSP
 
Web Server - Internet Applications
Web Server - Internet ApplicationsWeb Server - Internet Applications
Web Server - Internet Applications
 
Welcome to Web Services
Welcome to Web ServicesWelcome to Web Services
Welcome to Web Services
 

Web server