Chapter 6: Running Apache
In This Chapter
Getting Apache up and running
Using the HTTP configuration tool
Restricting access
Creating virtual hosts
Creating web pages
All the popular Linux distributions come with Apache, the most popular web server on the Internet today. In most cases, Apache is installed and configured automatically when you install Linux. Then setting up a web server for the Internet or an intranet is simply a matter of tweaking a few Apache configuration settings and copying your HTML document files to Apache’s home directory.
Installing Apache
If you’ve followed the installation instructions in Chapter 1 of this minibook, Apache should already be installed on your system. To be sure, enter the following command from a shell prompt:
rpm -q httpd
If Apache has been installed, the package version is displayed. If not, the message package httpd is not installed
is displayed.
If Apache isn’t installed on your Linux server, you can install it by following these steps: ...