Explain the Apache main configuration file (configuration narration) in detail

Source: Internet
Author: User
Tags modify resource access linux

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



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.