Web servers are responsible for storing and delivering the vast amount of content available on the World Wide Web to clients all over the world. Although several Web-server software packages are available for Red Hat Linux, the most popular is the Apache Web server.
This chapter describes how to install, configure, and run an Apache server in Red Hat Linux. The httpd daemon process handles requests for Web content (HTTP). Configuration files define what content is made available and how it can be accessed. In particular, the /etc/httpd/conf/httpd.conf file is used to configure the server.
The apache package also includes facilities for logging error and transfer messages. You can look for the access_log and error_log files in the /etc/httpd/logs directory. The access_log file contains information on content requests that have been serviced by the server. The error_log file lists error conditions that have occurred and times when service has been denied. You can use tools such as webalizer to simplify viewing of Apache log data.