G LU G | National Institute of Technology Hamirpur

What is HTTP?

HTTP stands for Hyper Text Transfer Protocol. It is the method used to transfer or convey information on the World Wide Web. It is a patented open internet protocol whose original purpose was to provide a way to publish and receive HTML pages.

»»[email protected]


The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

Apache has been the most popular web server on the Internet since April 1996. The November 2005 Netcraft Web Server Survey found that more than 70% of the web sites on the Internet are using Apache, thus making it more widely used than all other web servers combined.

The Apache HTTP Server is a project of the Apache Software Foundation

»»Read more


We are in the process of enriching our bulletin board and tutorial sections. So anyone interested in writing a tutorial, a review, or sharing interesting links, can just type them down and mail copies to Debarshi ( [email protected] ) and me ( [email protected] ), and we will take care of the rest. Make sure you include the text (plain text only), relevant screenshots and other stuff as seperate attachments.

Posted by Arjun Shankar at 14:08 hr 01/04/2006.

Apache: Very Quick and Extremely Dirty

Okey, I thought we might as well have a quick and dirty series. So this time it's apache. This is so easy, my dog can do it.

Ubuntu users, open up synaptic and install apache (there's apache2 also, but I'm really not sure if it uses the same config file. Anyways, I got apache, so if you want to follow, you do it too), or install it from source. There are rpms also available all over the place. So whatever... lets just assume you got apache now. There's this file called httpd.conf. Mine is in the /etc/apache directory. Open it up in your favouite text editor (as root), and see if there is already a sample config file. It will usually be there. You dont need too many changes. I have attached my conf file, just in case ;) ( httpd.conf ). Just go to the line containing:
DocumentRoot /var/www/html (or /var/www sometimes)

Either put your website in this directory (preferable) or change it to the directory containing your index.html (the first file that opens when someone opens your website) All other files should be within this directory. You can also have symlinks pointing to various files/directories that are not in the DocumentRoot.

Next go to this line:
(AngleBracksOpen)Directory /var/www/html(AngleBracksClose) (or again /var/www)
and change it to what you set for DocumentRoot.

For each symlink, assign a similiar directory block (from (AngleBracksOpen)Directory ...(AngleBracksClose) to (AngleBracksOpen)/Directory(AngleBracksClose)). Simply copying the settings defined for your DocumentRoot is fine. You are now good to go!

Ubuntu users:
sudo /etc/init.d/apache start

Make sure apache starts each boot by navigating to System->Administration->Services and checking on the apache option

Fedora/RHEL people can type (as root ofcourse):
service httpd start
chkconfig httpd on


Yes! We use Apache!!.

Posted by Arjun Shankar at 13:39 hr 01/04/2006.