SlideShare a Scribd company logo
APACHE WEB SERVICE
An Introduction to Apache web Services and Installing Apache
Manash Kumar Mondal
M. Tech (C.S.E) 2nd Semester
Outline
■ Part:1
■ A brief History of Apache
■ Named Apache because
■ Web Server
■ Apache HTTPd Server
■ Core Components of Apache
■ Architecture of Apache
■ How Requests are Handled e.g.
(Email)
■ Virtual Host
■ Concurrency in Apache
■ Advantages of Apache
■ Part:2
■ Installation of Apache
■ References
A brief History of Apache
 First version NCSA HTTPd (National Center for Supercomputing Applications) web
server was created by Robert McCool in 1993 at the University of Illinois at Urbana.
 First viable alternative to Netscape Communications Corporation web server
 As of 1June 2017 92% of Apache HTTPS Server copies run on Linux distributions.
 Apache is used by giants like:-
Google Web Servers
Wikimedia
Named Apache because
■ Due to the project's roots as a set of patches to the codebase
of NCSA HTTPd1.3 - making it "a patchy" server.
■ Out of respect for the Native American
tribe of Apache.
Web Server
■ A web server is a computer that runs websites.
■ It’s a computer program that distributes web pages as per client request.
■ Communication done using HTTP.
■ Serving Web Pages.
Html
document
Images
Style
sheet
Script
Apache HTTPd Server
 The Apache HTTP server is a software (or program) that runs in
the background under an appropriate operating system, which
supports multi-tasking, and provides services to the client web
browsers.
 It is an open-source software with cross-platform
functionality.
 In HTTPd stands for Hypertext Transfer Protocol daemon (i.e. Web server).
 What is daemon?
In multitasking computer operating systems, a daemon is a computer program that runs as a
background process, rather than being under the direct control of an interactive user.
Apache HTTPd Server(cont.)
■ The Apache services are offered using various protocols through different ports, and
include:
Hypertext Transfer Protocol(HTTP) using port 80
Simple Mail Transfer Protocol(SMTP) using port 25
Domain Name Service(DNS) using port 53
File Transfer Protocol(FTP) using port 21
Apache HTTPd Server(cont.)
■ Apache can be installed on a variety of operating systems. Regardless of the platform
used, a hosted website will typically have four main directories:
htdocs
• Static page
• Dynamic
content
config
• Plain text
logs
• Server log
• Error log
cgi-bin
• Cgi script
• Cgi program
Core Components of Apache
 The core of a Apache Server implements the basic functionality of the server
http_core.chttp_request.chttp_main.chttp_protocol.c
Architecture of Apache
to/form
http client
ALLOC
res.pool
UTILITIES
AN APACHE
MODULE
Handeler1
Handler n
Private
data
Interface
Return control /data
Call/ Uses
HTTP_MAIN
(server loop)
HTTP_REQUEST
(phase of request)
HTTP_CORE
(main functionality)
HTTP_PROTOCOL
(implementation)
….
.…
..
How Requests are Handled .(Email)
■ URI(Uniform Resource Identifier) to filename translation
■ Check access based on host address, and other available information
■ Get an user id from the HTTP request and validate it
■ Authorize the user (using SSL )
■ Determine the MIME(Multipurpose Internet Mail Extensions) type of the requested
object (the content type, the encoding and the language).
■ Fix-ups (for example replace aliases by the actual path).
■ Send the actual data back to the client.
■ Log the request.
Virtual host
■ An Apache web server can host multiple websites on the SAME server. You do not need
separate server machine and apache software for each website. This can achieved
using the concept of Virtual Host or VHost.
■ Any domain that you want to host on your web server will have a separate entry in
apache configuration file.
Types of Virtual Host :
 Name based Virtual Host
 IP based Virtual Host
Concurrency in Apache
■ To handle large incoming requests to website TCP/IP servers fork a new child to
handle new incoming request from clients.
■ However in the situation of a busy web site the overhead of forking a huge
number of children will simply suffocate the machine.
■ Apache uses Persistent Server Process.
Persistent Server Process
■ It forks a fixed number of children,
right from the beginning. The
children service incoming
requests independently
(different address spaces).
■ It is interesting that Apache
server can dynamically control
the number of children it forks
(i.e. increasing or decreasing it),
based on current load. By default no. of fork is
50
Advantages of Apache
■ It is free and commercial friendly - no licensing fees or costs.
■ It will run on pretty much any OS (Linux, Windows and Mac OS)
■ It is actively maintained. The last release is 2.4.10 – released at the end
of July.
■ It is one of the most feature rich web servers available. There isn’t much
it can’t do.
Part 2
Apache Installation
■ Before installing Apache you must have to update Ubuntu’s Advanced Packaging Tool
(APT).
 Write on terminal
”$sudo apt − get update”
 Installing Apache
”$sudo apt − get install apache2”
 For testing
Just open a browser and type
127.0.0.1 or localhost
Apache Installation(cont.)
Apache Installation(cont.)
Apache Installation(cont.)
Apache Installation(cont.)
References
1. www.jkmandal.com/JKM New WebSite/study metirials.html
2 .www.slideshare.net/
3 .www.en.wikipedia.org/wiki/Apache HTTP Server
4. www.apache.org
5 .www.youtube.com
6 .www.quora.com
Thank You

More Related Content

What's hot

Web server
Web serverWeb server
Web server
Nirav Daraniya
 
Web server
Web serverWeb server
Web server
Sajan Sahu
 
Apache web server
Apache web serverApache web server
Apache web serverzrstoppe
 
NGINX: High Performance Load Balancing
NGINX: High Performance Load BalancingNGINX: High Performance Load Balancing
NGINX: High Performance Load Balancing
NGINX, Inc.
 
Web servers – features, installation and configuration
Web servers – features, installation and configurationWeb servers – features, installation and configuration
Web servers – features, installation and configurationwebhostingguy
 
Web servers
Web serversWeb servers
Web servers
Kuldeep Kulkarni
 
IIS
IISIIS
Web Servers(IIS, NGINX, APACHE)
Web Servers(IIS, NGINX, APACHE)Web Servers(IIS, NGINX, APACHE)
Web Servers(IIS, NGINX, APACHE)
Reza Jebeli
 
Web Server - Internet Applications
Web Server - Internet ApplicationsWeb Server - Internet Applications
Web Server - Internet Applications
sandra sukarieh
 
Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Securitygeorge.james
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
Amit Nirala
 
HTTP Request and Response Structure
HTTP Request and Response StructureHTTP Request and Response Structure
HTTP Request and Response Structure
BhagyashreeGajera1
 
Laravel Introduction
Laravel IntroductionLaravel Introduction
Laravel Introduction
Ahmad Shah Hafizan Hamidin
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Serverwebhostingguy
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
Mirantis
 
Drupal
DrupalDrupal
Tomcat server
 Tomcat server Tomcat server
Tomcat server
Utkarsh Agarwal
 

What's hot (20)

Web server
Web serverWeb server
Web server
 
Web server
Web serverWeb server
Web server
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Web server
Web serverWeb server
Web server
 
Apache web server
Apache web serverApache web server
Apache web server
 
NGINX: High Performance Load Balancing
NGINX: High Performance Load BalancingNGINX: High Performance Load Balancing
NGINX: High Performance Load Balancing
 
Web servers – features, installation and configuration
Web servers – features, installation and configurationWeb servers – features, installation and configuration
Web servers – features, installation and configuration
 
Web servers
Web serversWeb servers
Web servers
 
Apache
ApacheApache
Apache
 
IIS
IISIIS
IIS
 
Web Servers(IIS, NGINX, APACHE)
Web Servers(IIS, NGINX, APACHE)Web Servers(IIS, NGINX, APACHE)
Web Servers(IIS, NGINX, APACHE)
 
Web Server - Internet Applications
Web Server - Internet ApplicationsWeb Server - Internet Applications
Web Server - Internet Applications
 
Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Security
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
 
HTTP Request and Response Structure
HTTP Request and Response StructureHTTP Request and Response Structure
HTTP Request and Response Structure
 
Laravel Introduction
Laravel IntroductionLaravel Introduction
Laravel Introduction
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
Drupal
DrupalDrupal
Drupal
 
Tomcat server
 Tomcat server Tomcat server
Tomcat server
 

Similar to Apache web service

Apache web-server-architecture
Apache web-server-architectureApache web-server-architecture
Apache web-server-architecture
IvanGeorgeArouje
 
23 LAMP Stack #burningkeyboards
23 LAMP Stack #burningkeyboards23 LAMP Stack #burningkeyboards
23 LAMP Stack #burningkeyboards
Denis Ristic
 
Apache
Apache Apache
Apache
Suresh kumar
 
Introduction to Apache Web Services using latex
 Introduction to Apache Web Services using latex Introduction to Apache Web Services using latex
Introduction to Apache Web Services using latex
Manash Kumar Mondal
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebservertarensi
 
Webserver
WebserverWebserver
Webserver
ARYA TM
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Serverswebhostingguy
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and softwareVikram g b
 
Web Technology – Web Server Setup : Chris Uriarte
Web Technology – Web Server Setup : Chris UriarteWeb Technology – Web Server Setup : Chris Uriarte
Web Technology – Web Server Setup : Chris Uriartewebhostingguy
 
Apache
ApacheApache
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and softwareVikram g b
 
Application Note APLX-LMW-0403: Interfacing the Apache Web ...
Application Note APLX-LMW-0403: Interfacing the Apache Web ...Application Note APLX-LMW-0403: Interfacing the Apache Web ...
Application Note APLX-LMW-0403: Interfacing the Apache Web ...webhostingguy
 
Apache ppt
Apache pptApache ppt
Apache pptReka
 
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
NETWAYS
 

Similar to Apache web service (20)

Apache web-server-architecture
Apache web-server-architectureApache web-server-architecture
Apache web-server-architecture
 
23 LAMP Stack #burningkeyboards
23 LAMP Stack #burningkeyboards23 LAMP Stack #burningkeyboards
23 LAMP Stack #burningkeyboards
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Apache
Apache Apache
Apache
 
Introduction to Apache Web Services using latex
 Introduction to Apache Web Services using latex Introduction to Apache Web Services using latex
Introduction to Apache Web Services using latex
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
slides (PPT)
slides (PPT)slides (PPT)
slides (PPT)
 
Webserver
WebserverWebserver
Webserver
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Web Technology – Web Server Setup : Chris Uriarte
Web Technology – Web Server Setup : Chris UriarteWeb Technology – Web Server Setup : Chris Uriarte
Web Technology – Web Server Setup : Chris Uriarte
 
Apache
ApacheApache
Apache
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Application Note APLX-LMW-0403: Interfacing the Apache Web ...
Application Note APLX-LMW-0403: Interfacing the Apache Web ...Application Note APLX-LMW-0403: Interfacing the Apache Web ...
Application Note APLX-LMW-0403: Interfacing the Apache Web ...
 
Babitha.4appach
Babitha.4appachBabitha.4appach
Babitha.4appach
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Babitha.4appach
Babitha.4appachBabitha.4appach
Babitha.4appach
 
Apache
ApacheApache
Apache
 
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
 

More from Manash Kumar Mondal

Role of NDLI in Higher Education _ Research, KU.pdf
Role of NDLI in Higher Education _ Research, KU.pdfRole of NDLI in Higher Education _ Research, KU.pdf
Role of NDLI in Higher Education _ Research, KU.pdf
Manash Kumar Mondal
 
Various security issues and its solutions in the
Various security issues and its solutions in theVarious security issues and its solutions in the
Various security issues and its solutions in the
Manash Kumar Mondal
 
Omicron - A Covid 19 variant
Omicron - A Covid 19 variantOmicron - A Covid 19 variant
Omicron - A Covid 19 variant
Manash Kumar Mondal
 
Computer network
Computer networkComputer network
Computer network
Manash Kumar Mondal
 
Boolean alebra
Boolean alebraBoolean alebra
Boolean alebra
Manash Kumar Mondal
 
Introduction to Algorithm
Introduction to AlgorithmIntroduction to Algorithm
Introduction to Algorithm
Manash Kumar Mondal
 
Tiny OS
Tiny OSTiny OS
File in C language
File in C languageFile in C language
File in C language
Manash Kumar Mondal
 
Pegasus, A spyware
Pegasus, A spywarePegasus, A spyware
Pegasus, A spyware
Manash Kumar Mondal
 
A comparative study between cloud computing and fog
A comparative study between cloud computing and fog A comparative study between cloud computing and fog
A comparative study between cloud computing and fog
Manash Kumar Mondal
 
Binary Semaphore
Binary SemaphoreBinary Semaphore
Binary Semaphore
Manash Kumar Mondal
 
Ocean- sat for Oceanography
Ocean- sat for Oceanography Ocean- sat for Oceanography
Ocean- sat for Oceanography
Manash Kumar Mondal
 
Graph theory
Graph  theoryGraph  theory
Graph theory
Manash Kumar Mondal
 
4 g and 5g Communication
4 g and 5g Communication4 g and 5g Communication
4 g and 5g Communication
Manash Kumar Mondal
 
Revolution of Mobile Communication, from 1G to 5G Communication
Revolution of Mobile Communication, from  1G to 5G CommunicationRevolution of Mobile Communication, from  1G to 5G Communication
Revolution of Mobile Communication, from 1G to 5G Communication
Manash Kumar Mondal
 
Cloud computing and Cloudsim
Cloud computing and CloudsimCloud computing and Cloudsim
Cloud computing and Cloudsim
Manash Kumar Mondal
 
Superscalar Processor
Superscalar ProcessorSuperscalar Processor
Superscalar Processor
Manash Kumar Mondal
 

More from Manash Kumar Mondal (17)

Role of NDLI in Higher Education _ Research, KU.pdf
Role of NDLI in Higher Education _ Research, KU.pdfRole of NDLI in Higher Education _ Research, KU.pdf
Role of NDLI in Higher Education _ Research, KU.pdf
 
Various security issues and its solutions in the
Various security issues and its solutions in theVarious security issues and its solutions in the
Various security issues and its solutions in the
 
Omicron - A Covid 19 variant
Omicron - A Covid 19 variantOmicron - A Covid 19 variant
Omicron - A Covid 19 variant
 
Computer network
Computer networkComputer network
Computer network
 
Boolean alebra
Boolean alebraBoolean alebra
Boolean alebra
 
Introduction to Algorithm
Introduction to AlgorithmIntroduction to Algorithm
Introduction to Algorithm
 
Tiny OS
Tiny OSTiny OS
Tiny OS
 
File in C language
File in C languageFile in C language
File in C language
 
Pegasus, A spyware
Pegasus, A spywarePegasus, A spyware
Pegasus, A spyware
 
A comparative study between cloud computing and fog
A comparative study between cloud computing and fog A comparative study between cloud computing and fog
A comparative study between cloud computing and fog
 
Binary Semaphore
Binary SemaphoreBinary Semaphore
Binary Semaphore
 
Ocean- sat for Oceanography
Ocean- sat for Oceanography Ocean- sat for Oceanography
Ocean- sat for Oceanography
 
Graph theory
Graph  theoryGraph  theory
Graph theory
 
4 g and 5g Communication
4 g and 5g Communication4 g and 5g Communication
4 g and 5g Communication
 
Revolution of Mobile Communication, from 1G to 5G Communication
Revolution of Mobile Communication, from  1G to 5G CommunicationRevolution of Mobile Communication, from  1G to 5G Communication
Revolution of Mobile Communication, from 1G to 5G Communication
 
Cloud computing and Cloudsim
Cloud computing and CloudsimCloud computing and Cloudsim
Cloud computing and Cloudsim
 
Superscalar Processor
Superscalar ProcessorSuperscalar Processor
Superscalar Processor
 

Recently uploaded

Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 

Recently uploaded (20)

Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 

Apache web service

  • 1. APACHE WEB SERVICE An Introduction to Apache web Services and Installing Apache Manash Kumar Mondal M. Tech (C.S.E) 2nd Semester
  • 2. Outline ■ Part:1 ■ A brief History of Apache ■ Named Apache because ■ Web Server ■ Apache HTTPd Server ■ Core Components of Apache ■ Architecture of Apache ■ How Requests are Handled e.g. (Email) ■ Virtual Host ■ Concurrency in Apache ■ Advantages of Apache ■ Part:2 ■ Installation of Apache ■ References
  • 3. A brief History of Apache  First version NCSA HTTPd (National Center for Supercomputing Applications) web server was created by Robert McCool in 1993 at the University of Illinois at Urbana.  First viable alternative to Netscape Communications Corporation web server  As of 1June 2017 92% of Apache HTTPS Server copies run on Linux distributions.  Apache is used by giants like:- Google Web Servers Wikimedia
  • 4. Named Apache because ■ Due to the project's roots as a set of patches to the codebase of NCSA HTTPd1.3 - making it "a patchy" server. ■ Out of respect for the Native American tribe of Apache.
  • 5. Web Server ■ A web server is a computer that runs websites. ■ It’s a computer program that distributes web pages as per client request. ■ Communication done using HTTP. ■ Serving Web Pages. Html document Images Style sheet Script
  • 6. Apache HTTPd Server  The Apache HTTP server is a software (or program) that runs in the background under an appropriate operating system, which supports multi-tasking, and provides services to the client web browsers.  It is an open-source software with cross-platform functionality.  In HTTPd stands for Hypertext Transfer Protocol daemon (i.e. Web server).  What is daemon? In multitasking computer operating systems, a daemon is a computer program that runs as a background process, rather than being under the direct control of an interactive user.
  • 7. Apache HTTPd Server(cont.) ■ The Apache services are offered using various protocols through different ports, and include: Hypertext Transfer Protocol(HTTP) using port 80 Simple Mail Transfer Protocol(SMTP) using port 25 Domain Name Service(DNS) using port 53 File Transfer Protocol(FTP) using port 21
  • 8. Apache HTTPd Server(cont.) ■ Apache can be installed on a variety of operating systems. Regardless of the platform used, a hosted website will typically have four main directories: htdocs • Static page • Dynamic content config • Plain text logs • Server log • Error log cgi-bin • Cgi script • Cgi program
  • 9. Core Components of Apache  The core of a Apache Server implements the basic functionality of the server http_core.chttp_request.chttp_main.chttp_protocol.c
  • 10. Architecture of Apache to/form http client ALLOC res.pool UTILITIES AN APACHE MODULE Handeler1 Handler n Private data Interface Return control /data Call/ Uses HTTP_MAIN (server loop) HTTP_REQUEST (phase of request) HTTP_CORE (main functionality) HTTP_PROTOCOL (implementation) …. .… ..
  • 11. How Requests are Handled .(Email) ■ URI(Uniform Resource Identifier) to filename translation ■ Check access based on host address, and other available information ■ Get an user id from the HTTP request and validate it ■ Authorize the user (using SSL ) ■ Determine the MIME(Multipurpose Internet Mail Extensions) type of the requested object (the content type, the encoding and the language). ■ Fix-ups (for example replace aliases by the actual path). ■ Send the actual data back to the client. ■ Log the request.
  • 12. Virtual host ■ An Apache web server can host multiple websites on the SAME server. You do not need separate server machine and apache software for each website. This can achieved using the concept of Virtual Host or VHost. ■ Any domain that you want to host on your web server will have a separate entry in apache configuration file. Types of Virtual Host :  Name based Virtual Host  IP based Virtual Host
  • 13. Concurrency in Apache ■ To handle large incoming requests to website TCP/IP servers fork a new child to handle new incoming request from clients. ■ However in the situation of a busy web site the overhead of forking a huge number of children will simply suffocate the machine. ■ Apache uses Persistent Server Process.
  • 14. Persistent Server Process ■ It forks a fixed number of children, right from the beginning. The children service incoming requests independently (different address spaces). ■ It is interesting that Apache server can dynamically control the number of children it forks (i.e. increasing or decreasing it), based on current load. By default no. of fork is 50
  • 15. Advantages of Apache ■ It is free and commercial friendly - no licensing fees or costs. ■ It will run on pretty much any OS (Linux, Windows and Mac OS) ■ It is actively maintained. The last release is 2.4.10 – released at the end of July. ■ It is one of the most feature rich web servers available. There isn’t much it can’t do.
  • 17. Apache Installation ■ Before installing Apache you must have to update Ubuntu’s Advanced Packaging Tool (APT).  Write on terminal ”$sudo apt − get update”  Installing Apache ”$sudo apt − get install apache2”  For testing Just open a browser and type 127.0.0.1 or localhost
  • 22. References 1. www.jkmandal.com/JKM New WebSite/study metirials.html 2 .www.slideshare.net/ 3 .www.en.wikipedia.org/wiki/Apache HTTP Server 4. www.apache.org 5 .www.youtube.com 6 .www.quora.com