SlideShare a Scribd company logo
Web Server
A computer program that isresponsible for accepting HTTP requestsfrom web clients, which are known asweb browsers, and serving
them HTTP responsesalong with optional data contents, which usually are web pagessuch as HTML documentsand linked objects
(images, etc.).
Common features
Althoughweb server programsdiffer in detail,they all share some basic commonfeatures.
1. HTTP: every web server program operatesby accepting HTTP requestsfrom the client, and providing an HTTP response to the
client. TheHTTP response usually consistsof an HTML document,but can also be a raw file, an image,or some other type of
document (defined by MIME-types). If some error is found in clientrequest or while tryingto serve it, a web server has to send an error
response which may include some custom HTML or text messagesto better explain the problem to endusers.
2. Logging: usually web servers have also the capability of loggingsome detailedinformation, about client requestsand server
responses, to log files; thisallowsthe webmaster to collect statisticsby running log analyzerson log files.
In practice many web servers implement the following featuresalso:
1. Authentication,optional authorizationrequest (request of user name and password) before allowingaccessto some or all kind of
resources.
2. Handling of static content(filecontent recordedin server'sfilesystem(s)) and dynamic content by supportingone or more related
interfaces(SSI, CGI, SCGI, FastCGI, JSP, PHP, ASP, ASP.NET, Server API such as NSAPI, ISAPI, etc.).
3. HTTPS support (by SSL or TLS) to allow secure (encrypted) connectionsto the server on the standard port 443 instead of usual port
80.
4. Content compression (i.e. by gzip encoding) to reduce the size of the responses(to lower bandwidthusage, etc.).
5. Virtual hosting to serve many web sitesusing one IP address.
6. Large file support to be ableto serve fileswhose size is greater than 2 GB on 32 bit OS.
7. Bandwidth throttling to limit thespeed of responsesin order to not saturate the networkand to be able to serve more clients.
Origin of returned content
The originof the content sent by server is called:
• static if it comesfrom an existing filelying on a filesystem;
• dynamic if it isdynamically generated by some other program or script or Application Programming Interfacecalledby the web server.
Serving static content isusually much faster (from 2 to 100 times) than serving dynamic content,especially if the latter in volvesdata
pulled from a database.
Path translation
Web servers are able to map the pathcomponent of a Uniform Resource Locator (URL) into:
• a local file system resource (for static requests);
• an internal or external program name (for dynamic requests).
For a static request the URL path specified by the client isrelative to the Web server'sroot directory.
Consider the followingURL asit would be requested by a client:
http://www.example.com/path/file.html
The client'sweb browser will translate itintoa connection to www.example.com withthe following HTTP 1.1request:
GET /path/file.html HTTP/1.1
Host: www.example.com
The web server on www.example.com will appendthe given pathto the pathof itsroot directory. On Unix machines, thisiscom monly
/var/www/htdocs. The result isthe local file system resource:
/var/www/htdocs/path/file.html
The web server will then read thefile, ifit exists, and send a response to the client'sweb browser. The response will describe the
content of the fileand contain thefile itself.
Load limits
A web server (program) has defined loadlimits, because it can handle only a limited number of concurrent client connections (usually
between 2 and 60,000, by default between 500 and 1,000) per IP address(and IP port) and it can serve only a certain maximum
number of requestsper second depending on:
• its own settings;
• the HTTP request type;
• content origin(static or dynamic);
• the fact that the served content isor is not cached;
• the hardware and software limitsof the OS where it isworking.
When a web server is near to or over its limits, it becomesoverloaded andthusunresponsive.
Overload causes
At any time web servers can be overloaded because of:
• Too much legitimateweb traffic (i.e. thousandsor even millionsof clientshittingthe web site in a short interval of time. e.g.Slashdot
effect);
• DDoS (Distributed Denial of Service) attacks;
• Computer wormsthat sometimescause abnormal traffic because of millionsof infectedcomputers(not coordinated among them);
• XSS viruses can cause high traffic because of millionsof infected browsersand/or web servers;
• Internet web robotstraffic not filtered/limitedon largeweb siteswith very few resources (bandwidth, etc.);
• Internet (network) slowdowns, so that client requestsare served more slowly and the number of connectionsincreasesso much that
server limitsare reached;
• Web servers (computers) partial unavailability,thiscan happen because of requiredor urgent maintenance or upgrade, HW or SW
failures, back-end (i.e. DB) failures, etc.; in these casesthe remainingweb servers get too much traffic andbecomeoverloaded.
Overload symptoms
The symptomsof an overloaded web server are:
• requests are served with (possibly long) delays(from 1 second to a few hundred seconds);
• 500, 502, 503, 504 HTTP errorsare returned to clients(sometimesalso unrelated404 error or even 408 error may be returned);
• TCP connectionsare refused or reset (interrupted) before any contentissent to clients;
• in very rare cases, only partial contentsare sent (but thisbehavior may well be considered a bug, even ifit usually dependson
unavailable system resources).
Anti-overload techniques
To partially overcome above loadlimitsand to prevent overload, most popular web sitesuse common techn iqueslike:
• managingnetworktraffic, by using:
o Firewallsto blockunwanted traffic coming from bad IP sourcesor having bad patterns;
o HTTP traffic managersto drop, redirect or rewrite requestshaving badHTTP patterns;
o Bandwidth management and traffic shaping, inorder to smooth down peaksin networkusage;
• deployingweb cache techniques;
• using different domain namesto serve different (static and dynamic) content by separate Web servers, i.e.:
o http://images.example.com
o
o http://www.example.com
o
• using different domain namesand/or computersto separate big filesfrom small andmedium sized files; the ideaisto be ab le to fully
cache small and medium sized filesand to efficiently serve big or huge (over 10 - 1000 MB) filesby using different settings;
• using many Web servers (programs) per computer, each one boundto itsown networkcard and IP address;
• using many Web servers (computers) that are grouped together so that they act or are seen as one big Web server, see also: Load
balancer;
• adding more hardware resources(i.e. RAM, disks) to each computer;
• tuning OS parametersfor hardware capabilitiesand usage;
• using more efficient computer programsfor web servers, etc.;
• using other workarounds, especially if dynamic content isinvolved.
Historical notes
In 1989 Tim Berners-Lee proposed to hisemployer CERN (European Organization for Nuclear Research) a new project, which hadthe
goal of easing the exchangeof information betweenscientistsby using a hypertext system. As a result of the implementationof this
project, in 1990Berners-Lee wrote two programs:
• a browser called WorldWideWeb;
• the world's first web server, later known as CERN HTTPd, which ran on NeXTSTEP.
Between 1991 and1994the simplicity and effectiveness of early technologiesused to surf and exchangedata throughthe World Wide
Web helped to port them to many different operatingsystems and spread their use among lotsof different social groupsof peo ple, first
in scientific organizations, then in universitiesand finally in industry.
In 1994 Tim Berners-Lee decidedto constitutethe World WideWeb Consortium to regulate thefurther development of the many
technologiesinvolved (HTTP, HTML,etc.) througha standardizationprocess
A Web server is a programthat uses HTTP (Hypertext Transfer Protocol) to serve the files that form Web pages to users, in
response to their requests, w hich are forwarded by their computers' HTTP clients. Dedicated computers and appliances may be
referred to as Web servers as well.
What software is on a web server?
Category:Web server software. FromWikipedia, the free encyclopedia. A web server (sometimes called an HTTP server or
application server) is a programthat serves content using the HTTP protocol. This content is frequently in the formof HTML
documents, images, and other webresources, but can include any type of file.
What are the different types of Web servers?
Major ones are Netscape's iPlanet, Bea's Web Logic and IBM's WebSphere.
 Apache HTTP Server.
 Internet Information Services.
 lighttpd.
 Sun Java System Web Server.
 Jigsaw Server.

More Related Content

What's hot

Web and http computer network
Web and http computer networkWeb and http computer network
Web and http computer network
Anil Pokhrel
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
Gurjot Singh
 
Http-protocol
Http-protocolHttp-protocol
Http-protocol
Toushik Paul
 
HTTP Presentation
HTTP Presentation HTTP Presentation
HTTP Presentation
Lana Dujanovic
 
Http
HttpHttp
21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards
Denis Ristic
 
introduction for web connectivity (IoT)
introduction for web connectivity (IoT)introduction for web connectivity (IoT)
introduction for web connectivity (IoT)
FabMinds
 
HTTP & WWW
HTTP & WWWHTTP & WWW
HTTP & WWW
RazanAlsaif
 
HTTP & HTML & Web
HTTP & HTML & WebHTTP & HTML & Web
HTTP & HTML & Web
Peter R. Egli
 
Http basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-pptHttp basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-ppt
Qwinix Technologies
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
Gouasmia Zakaria
 
Http
HttpHttp
HTTP
HTTPHTTP
HTTP
HTTPHTTP
Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
Piero Fraternali
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
johnny19910916
 
Http VS. Https
Http VS. HttpsHttp VS. Https
Http VS. Https
Raed Aldahdooh
 
Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)
maamir farooq
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
Srihari
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
Chuong Mai
 

What's hot (20)

Web and http computer network
Web and http computer networkWeb and http computer network
Web and http computer network
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
Http-protocol
Http-protocolHttp-protocol
Http-protocol
 
HTTP Presentation
HTTP Presentation HTTP Presentation
HTTP Presentation
 
Http
HttpHttp
Http
 
21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards21 HTTP Protocol #burningkeyboards
21 HTTP Protocol #burningkeyboards
 
introduction for web connectivity (IoT)
introduction for web connectivity (IoT)introduction for web connectivity (IoT)
introduction for web connectivity (IoT)
 
HTTP & WWW
HTTP & WWWHTTP & WWW
HTTP & WWW
 
HTTP & HTML & Web
HTTP & HTML & WebHTTP & HTML & Web
HTTP & HTML & Web
 
Http basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-pptHttp basics by-joshi_29_4_15-ppt
Http basics by-joshi_29_4_15-ppt
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
Http
HttpHttp
Http
 
HTTP
HTTPHTTP
HTTP
 
HTTP
HTTPHTTP
HTTP
 
Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
Http VS. Https
Http VS. HttpsHttp VS. Https
Http VS. Https
 
Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 

Similar to Web server for cbse 10 FIT

WP Chap 1 & 2.pptx
WP Chap 1 & 2.pptxWP Chap 1 & 2.pptx
WP Chap 1 & 2.pptx
AnkitaChauhan79
 
Web server
Web serverWeb server
Web server
Nirav Daraniya
 
Web-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptxWeb-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptx
AlokKumar250045
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
tarensi
 
Introduction to the Internet and Web.pptx
Introduction to the Internet and Web.pptxIntroduction to the Internet and Web.pptx
Introduction to the Internet and Web.pptx
hishamousl
 
Web server
Web serverWeb server
Web server
Ankit Raj
 
Web hosting presentations by hostindia.net
Web hosting presentations by hostindia.netWeb hosting presentations by hostindia.net
Web hosting presentations by hostindia.net
Hostin Services Pvt Ltd
 
Ch-1_.ppt
Ch-1_.pptCh-1_.ppt
Ch-1_.ppt
berihunmolla2
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
webhostingguy
 
web server
web serverweb server
web server
nava rathna
 
Module notes artificial intelligence and
Module notes artificial intelligence andModule notes artificial intelligence and
Module notes artificial intelligence and
bhagyavantrajapur88
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
webhostingguy
 
Cdn technology overview
Cdn technology overviewCdn technology overview
Cdn technology overview
Yoohyun Kim
 
Apache Web Server Setup 1
Apache Web Server Setup 1Apache Web Server Setup 1
Apache Web Server Setup 1
Information Technology
 
0130225347
01302253470130225347
0130225347
Dharmendra Gupta
 
Web server
Web serverWeb server
Web server
Alieska Waye
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
Abshar Fatima
 
Presentation 1
Presentation 1Presentation 1
Presentation 1
aisadhsa
 
Web application development ( basics )
Web application development ( basics )Web application development ( basics )
Web application development ( basics )
Chirag Nag
 
Web technology
Web technologyWeb technology
Web technology
Anuj Singh Rajput
 

Similar to Web server for cbse 10 FIT (20)

WP Chap 1 & 2.pptx
WP Chap 1 & 2.pptxWP Chap 1 & 2.pptx
WP Chap 1 & 2.pptx
 
Web server
Web serverWeb server
Web server
 
Web-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptxWeb-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptx
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
Introduction to the Internet and Web.pptx
Introduction to the Internet and Web.pptxIntroduction to the Internet and Web.pptx
Introduction to the Internet and Web.pptx
 
Web server
Web serverWeb server
Web server
 
Web hosting presentations by hostindia.net
Web hosting presentations by hostindia.netWeb hosting presentations by hostindia.net
Web hosting presentations by hostindia.net
 
Ch-1_.ppt
Ch-1_.pptCh-1_.ppt
Ch-1_.ppt
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
 
web server
web serverweb server
web server
 
Module notes artificial intelligence and
Module notes artificial intelligence andModule notes artificial intelligence and
Module notes artificial intelligence and
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
 
Cdn technology overview
Cdn technology overviewCdn technology overview
Cdn technology overview
 
Apache Web Server Setup 1
Apache Web Server Setup 1Apache Web Server Setup 1
Apache Web Server Setup 1
 
0130225347
01302253470130225347
0130225347
 
Web server
Web serverWeb server
Web server
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
 
Presentation 1
Presentation 1Presentation 1
Presentation 1
 
Web application development ( basics )
Web application development ( basics )Web application development ( basics )
Web application development ( basics )
 
Web technology
Web technologyWeb technology
Web technology
 

Recently uploaded

CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
Celine George
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
 

Recently uploaded (20)

CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
 

Web server for cbse 10 FIT

  • 1. Web Server A computer program that isresponsible for accepting HTTP requestsfrom web clients, which are known asweb browsers, and serving them HTTP responsesalong with optional data contents, which usually are web pagessuch as HTML documentsand linked objects (images, etc.). Common features Althoughweb server programsdiffer in detail,they all share some basic commonfeatures. 1. HTTP: every web server program operatesby accepting HTTP requestsfrom the client, and providing an HTTP response to the client. TheHTTP response usually consistsof an HTML document,but can also be a raw file, an image,or some other type of document (defined by MIME-types). If some error is found in clientrequest or while tryingto serve it, a web server has to send an error response which may include some custom HTML or text messagesto better explain the problem to endusers. 2. Logging: usually web servers have also the capability of loggingsome detailedinformation, about client requestsand server responses, to log files; thisallowsthe webmaster to collect statisticsby running log analyzerson log files. In practice many web servers implement the following featuresalso: 1. Authentication,optional authorizationrequest (request of user name and password) before allowingaccessto some or all kind of resources. 2. Handling of static content(filecontent recordedin server'sfilesystem(s)) and dynamic content by supportingone or more related interfaces(SSI, CGI, SCGI, FastCGI, JSP, PHP, ASP, ASP.NET, Server API such as NSAPI, ISAPI, etc.). 3. HTTPS support (by SSL or TLS) to allow secure (encrypted) connectionsto the server on the standard port 443 instead of usual port 80. 4. Content compression (i.e. by gzip encoding) to reduce the size of the responses(to lower bandwidthusage, etc.). 5. Virtual hosting to serve many web sitesusing one IP address. 6. Large file support to be ableto serve fileswhose size is greater than 2 GB on 32 bit OS. 7. Bandwidth throttling to limit thespeed of responsesin order to not saturate the networkand to be able to serve more clients. Origin of returned content The originof the content sent by server is called: • static if it comesfrom an existing filelying on a filesystem; • dynamic if it isdynamically generated by some other program or script or Application Programming Interfacecalledby the web server. Serving static content isusually much faster (from 2 to 100 times) than serving dynamic content,especially if the latter in volvesdata pulled from a database. Path translation Web servers are able to map the pathcomponent of a Uniform Resource Locator (URL) into: • a local file system resource (for static requests); • an internal or external program name (for dynamic requests). For a static request the URL path specified by the client isrelative to the Web server'sroot directory. Consider the followingURL asit would be requested by a client: http://www.example.com/path/file.html The client'sweb browser will translate itintoa connection to www.example.com withthe following HTTP 1.1request: GET /path/file.html HTTP/1.1 Host: www.example.com The web server on www.example.com will appendthe given pathto the pathof itsroot directory. On Unix machines, thisiscom monly /var/www/htdocs. The result isthe local file system resource: /var/www/htdocs/path/file.html The web server will then read thefile, ifit exists, and send a response to the client'sweb browser. The response will describe the content of the fileand contain thefile itself. Load limits A web server (program) has defined loadlimits, because it can handle only a limited number of concurrent client connections (usually between 2 and 60,000, by default between 500 and 1,000) per IP address(and IP port) and it can serve only a certain maximum number of requestsper second depending on: • its own settings; • the HTTP request type; • content origin(static or dynamic); • the fact that the served content isor is not cached; • the hardware and software limitsof the OS where it isworking. When a web server is near to or over its limits, it becomesoverloaded andthusunresponsive. Overload causes At any time web servers can be overloaded because of: • Too much legitimateweb traffic (i.e. thousandsor even millionsof clientshittingthe web site in a short interval of time. e.g.Slashdot effect); • DDoS (Distributed Denial of Service) attacks; • Computer wormsthat sometimescause abnormal traffic because of millionsof infectedcomputers(not coordinated among them); • XSS viruses can cause high traffic because of millionsof infected browsersand/or web servers; • Internet web robotstraffic not filtered/limitedon largeweb siteswith very few resources (bandwidth, etc.); • Internet (network) slowdowns, so that client requestsare served more slowly and the number of connectionsincreasesso much that server limitsare reached; • Web servers (computers) partial unavailability,thiscan happen because of requiredor urgent maintenance or upgrade, HW or SW failures, back-end (i.e. DB) failures, etc.; in these casesthe remainingweb servers get too much traffic andbecomeoverloaded.
  • 2. Overload symptoms The symptomsof an overloaded web server are: • requests are served with (possibly long) delays(from 1 second to a few hundred seconds); • 500, 502, 503, 504 HTTP errorsare returned to clients(sometimesalso unrelated404 error or even 408 error may be returned); • TCP connectionsare refused or reset (interrupted) before any contentissent to clients; • in very rare cases, only partial contentsare sent (but thisbehavior may well be considered a bug, even ifit usually dependson unavailable system resources). Anti-overload techniques To partially overcome above loadlimitsand to prevent overload, most popular web sitesuse common techn iqueslike: • managingnetworktraffic, by using: o Firewallsto blockunwanted traffic coming from bad IP sourcesor having bad patterns; o HTTP traffic managersto drop, redirect or rewrite requestshaving badHTTP patterns; o Bandwidth management and traffic shaping, inorder to smooth down peaksin networkusage; • deployingweb cache techniques; • using different domain namesto serve different (static and dynamic) content by separate Web servers, i.e.: o http://images.example.com o o http://www.example.com o • using different domain namesand/or computersto separate big filesfrom small andmedium sized files; the ideaisto be ab le to fully cache small and medium sized filesand to efficiently serve big or huge (over 10 - 1000 MB) filesby using different settings; • using many Web servers (programs) per computer, each one boundto itsown networkcard and IP address; • using many Web servers (computers) that are grouped together so that they act or are seen as one big Web server, see also: Load balancer; • adding more hardware resources(i.e. RAM, disks) to each computer; • tuning OS parametersfor hardware capabilitiesand usage; • using more efficient computer programsfor web servers, etc.; • using other workarounds, especially if dynamic content isinvolved. Historical notes In 1989 Tim Berners-Lee proposed to hisemployer CERN (European Organization for Nuclear Research) a new project, which hadthe goal of easing the exchangeof information betweenscientistsby using a hypertext system. As a result of the implementationof this project, in 1990Berners-Lee wrote two programs: • a browser called WorldWideWeb; • the world's first web server, later known as CERN HTTPd, which ran on NeXTSTEP. Between 1991 and1994the simplicity and effectiveness of early technologiesused to surf and exchangedata throughthe World Wide Web helped to port them to many different operatingsystems and spread their use among lotsof different social groupsof peo ple, first in scientific organizations, then in universitiesand finally in industry. In 1994 Tim Berners-Lee decidedto constitutethe World WideWeb Consortium to regulate thefurther development of the many technologiesinvolved (HTTP, HTML,etc.) througha standardizationprocess A Web server is a programthat uses HTTP (Hypertext Transfer Protocol) to serve the files that form Web pages to users, in response to their requests, w hich are forwarded by their computers' HTTP clients. Dedicated computers and appliances may be referred to as Web servers as well. What software is on a web server? Category:Web server software. FromWikipedia, the free encyclopedia. A web server (sometimes called an HTTP server or application server) is a programthat serves content using the HTTP protocol. This content is frequently in the formof HTML documents, images, and other webresources, but can include any type of file. What are the different types of Web servers? Major ones are Netscape's iPlanet, Bea's Web Logic and IBM's WebSphere.  Apache HTTP Server.  Internet Information Services.  lighttpd.  Sun Java System Web Server.  Jigsaw Server.