Apache: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
Very likely ''the'' most used open source software in the world, Apache is a web (HTTP) server. Since the creation of the web server, the Apache Software Foundation now hosts many open source projects along with the original web server.
Possibly ''the'' most used open source software in the world, Apache is a web (HTTP) server. Since the creation of the web server, the Apache Software Foundation now hosts many open source projects along with the original web server.


[http://www.apache.org The Apache Software Foundation website]
[http://www.apache.org The Apache Software Foundation website]

Revision as of 18:45, 12 July 2009

Possibly the most used open source software in the world, Apache is a web (HTTP) server. Since the creation of the web server, the Apache Software Foundation now hosts many open source projects along with the original web server.

The Apache Software Foundation website

Installing

Apache is available (if not preinstalled) on all Linux Distributions, Windows, and Mac OS X (where it's called "Web Sharing").

Gentoo

Switching on / off modules

Current installs of apache break up different common configuration options into "modules" (actually just lots of little text files containing the necessary commands / parameters). You can use the commands: a2enmod and a2dismod to enable and disable a particular module, for instance to activate having a public_html folder in your home, simply switch on the "userdir" option with:

sudo a2enmod userdir

Apache reads the configuration files when it starts up (and then not again unless "forced" to in some way). So if you make changes, you can restart the server to make sure they get loaded again:

/etc/init.d/apache2 restart