Why Register With OSV?

Join 5700+ of your peers

Get enriched. Access 1270+ quality tutorials right away on:

  • Joomla 2.5.X, 3.0.X
  • WordPress 3.5.X
  • Shopping Carts
  • E-Commerce Payment Gateways
  • PDFs for each tutorial - FREE for download
  • New topics and tutorials added weekly

FREE EBooks

FREE Templates

Member Login

Not a member yet? Sign Up!

Opensourcevarsity Logo
Tutorials & Training from experienced world class trainers

pdf icons

Introduction to Apache Web Server (2.X.XX)

Introduction

Apache web server has been developed by a loosely-knit group of programmers form the open source domain. It can be downloaded and used completely free of cost. The first version of Apache web server, based on the NCSA httpd Web server, was developed in 1995.

When Rob McCool, who had developed NCSA HTTPd, left NCSA in 1994, the project fizzled out. Since Apache web server's, source code was publicly available, many people using it had developed their own bug fixes and additional features that they needed for their own sites. The patches were shared via Usenet, as there was no centralized place for collecting and distributing these patches.

Brian Behlendorf and Cliff Skolnick had put up a mailing list and Brain set up a CVS (Concurrent Versioning System) tree, now anyone who wanted to could contribute new features and bug fixes. This led to a place where a group of developers could collect and distribute patches and bug fixes. Thus came into existence - Apache.

Since it was a patchy Web server, the name APACHE evolved from A PAtCHy sErver. The Apache version 0.6.2 was released in April 1995 and the version 1.0 was released on December 1, 1995. Currently there are two versions of Apache available the first is 1.3.X.XX-X the most popular and tried and tested and completely stable. Apache.org, the Apache website indicates that there will be no enhancements made to 1.3.X.XX-X only bug fixes will be done.

Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. Apache is characterized as free software and open source software.

Apache web server is notable for playing a key role in the initial growth of the World Wide Web. In 2009 Apache web server became the first web server to surpass the 100 million web site milestone.

Apache web server was the first viable alternative to the Netscape Communications Corporation web server (currently known as Sun Java System Web Server), and has since evolved to rival other Unix- based web servers in terms of functionality and performance.

2.0.X.XX, is the latest version of Apache web server. This is being constantly bug fixed and enhanced (when creating this material). Either version can be used as a full-fledged production grade Web Server when required.

Apache Web Server can be downloaded from http://www.apache.org for free. Apache Web Server has the highest market share in the web server market (this includes parked web sites without any real content) and is Microsoft IIS's main competitor

The Internet’s Request / Response Way Of Working

Here’s the Internet’s Request / Response paradigm works.

Whenever a Browser makes an http request such as: http://www.opensourcevarsity.com/index.html
the following happens:

http This is the protocol used for communication between the Browser and the Web server. Since the Browser initiated the communication it has the privilege of setting the communication protocol.
:// This is a separator that separates the protocol from the URL.
www.opensourcevarsity.com This will be translated into a name:value pair i.e. ip:URL
by DNS servers. Hence this will translate to an ip 74.86.170.172:www.opensourcevarsity.com

Hence only the web server located on the computer identified by the ip 74.86.170.172 will reply to the requesting Browser and a communication link will be established.

As soon as the web server ( apache http server ) receives a request for the file index.html, the web server will search within URL’s folder on its hard disk for the existence of index.html.

If the file is found it is streamed back to the requesting Browser, where its content are processed appropriately and the web page is displayed in the Browser window.

If the file requested is not found an appropriate error message is streamed back to the requesting Browser which is displayed in the Browser window.

All of the above is described in a Diagram 1.

HTTP Request And Response
Diagram 1

Hence, to sum up, a Browser requests for a file, the web server searches for this file and responds by delivering it to the Browser. Then the web server breaks all connections with the Browser. The web server does not remember the Browser in anyway.


We love Your Comments

What keeps you awake at night?
Do let us know.
We will try our best to deliver tutorials that will help you sleep much better.

Smileys

:confused: :cool: :cry: :laugh: :lol: :normal: :blush: :rolleyes: :sad: :shocked: :sick: :sleeping: :smile: :surprised: :tongue: :unsure: :whistle: :wink: 

  5000 Characters left

Antispam Refresh image Case insensitive

 

Download tutorials free

The tutorials at have been written by by passionate teachers who have been using open source tools and technologies for years.

Real time images of their development screens are generously used throughout each tutorial.

Download the tutorials to your desktop as PDFs for ready reference whenever you need

Download Free Templates

Free Templates

Give us your comments

Give us your comments or feedback on any of our tutorials.

Your comments help us deliver the best possible training modules.

Is there a specific tutorial you want written? Just Ask.

All Open source tutorials

Apache (10)    |   PHP (40)    |   MySQL(70)    |   JavaScript (40)    |   Ajax (20)    |   SEM (20)    |   SEO (20)

CONNECT WITH US

Sitemap   |   Privacy Policy   |   MySQL(70)   |   Disclaimer   |   Reach Out To Us
Designed by Ivan Bayross & Meher Bala | Powered by Joomla
© 2013 All Rights Reserved.