Configuring Apache 2.0 -- Beginning
(Page 1 of 5 )
So you're ready to use an HTTP server, and you've chosen Apache 2.0. You're in good company. But there are some issues you'll need to keep in mind as you go about the process. Michael Swanson helps you get started.
Apache is the most popular HTTP server on the Web currently. It is the supporting HTTP daemon for most open source Web development languages from PHP to Perl to Python. However, configuring this server can be troublesome at times.
Apache allows for great pluggable functionality through the addition of “modules” that add new capabilities to the server. This is how support for languages like PHP, etc. is added. However, configuring all of these modules and keeping them all straight in your head can be difficult.
This series of articles is meant to help categorize and explain some of the common configuration tasks in Apache. This article will cover the basic configuration options available when setting up a simple Web server. As such, it will deal almost entirely with one main file, the major Apache configuration file, httpd.conf which sits in the “conf” directory under the main Apache directory. This article will also describe the file structure that Apache uses to serve files and websites to users and how to best set this up.
I will assume that you have performed the steps of downloading and installing/compiling Apache. Also, I will assume you are using Apache 2.0, rather than the older 1.3 versions. Version 1.3 is supported mainly for people who need to use specific modules with Apache that haven’t been or won’t be rewritten for version 2.0. Many of the options described here are similar or identical to the 1.3 version, but don’t depend on that.
More Web Hosting How-Tos Articles
More By Michael Swanson