Chapter 6: Running Apache

In This Chapter

check.png Getting Apache up and running

check.png Using the HTTP configuration tool

check.png Restricting access

check.png Creating virtual hosts

check.png 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: ...

Get Networking All-in-One For Dummies, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.