Apache: Difference between revisions
No edit summary |
(→Apache) |
||
Line 1: | Line 1: | ||
Probably the most used open source software package. 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. | Probably the most used open source software package. 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. | ||
Revision as of 18:44, 12 July 2009
Probably the most used open source software package. 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").
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