Apache provides network administrators with a variety of features, including directory indexing, directory aliases, content negotiation, configurable HTTP error reporting, setuid execution of CGI programs, child process resource management, server-side image mapping, rewrite URLs, url spell checking, and online manual man. That is, if you have successfully installed Apache on a Linux Server, your computer will be transformed into a veritable web Server with the advent of Apache, a change that is truly exciting.
1.1 Introduction
In the Internet age, the release of external home page has become an important means to establish the image of the company, and Internal homepage has become the main way of corporate governance. However, to implement these features, you should first configure our Linux server as a powerful Web server. This chapter describes in detail how to configure the Apache server. I hope that colleagues will be able to read this article to achieve the theoretical practice of double harvest, in a very short time quickly become an excellent network administrator.
1.2 Resource requirements
1.2.1 Required Package
RedHat6.2 Server Installation
1.2.2 Required configuration Files
/etc/httpd/conf/httpd.conf system with self, admin configuration
/etc/httpd/conf/access.conf system with no need to modify
/etc/httpd/conf/srm.conf system with no need to modify
1.3 Configuration Scheme
/etc/httpd/conf/httpd.conf
Description: Apache Main configuration file
Source file:
ServerType Standalone
# define webserver startup as standalone to enhance its responsiveness to massive access
ServerRoot "/ETC/HTTPD"
# Specifies the directory containing the HTTPD server files
LockFile /var/lock/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /var/run/httpd.scoreboard
Timeout 300
# response timeout, in seconds
KeepAlive on