The configuration file of the Apache server is located in the/etc/httpd/CONF/directory. Traditionally, three configuration files are used: httpd. conf, access. conf and SRM. conf to configure the behavior of the Apache server.
Httpd. conf
Introduction: This is a detailed page about the Apache configuration file httpd. conf [transfer] (2). It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.
# The ExtendedStatusOnbrApache server can report its own running status through special HTTP requests. enabling this brExtendedStatus parameter allows the server to report more comprehensive running status information. The configuration of the
First, the questionAfter installing Apache with Yum, the CentOS system will sometimes fail after restarting, and then go online to find the information, and some say that the restart command is:/ETC/INIT.D/HTTPD restartAnd some, say the restart
If the httpd command uses the-f option, you can directly obtain the configuration file directory. If the httpd command does not use the-f option, for example, Step 1: Find the apache startup command:
ps -ef|grep httpdroot 10575 1 0 19:45 ?
Httpd. conf
Apache main configuration file:/etc/httpd/conf/httpd. confDefault site home directory:/var/www/html/The configuration information of the Apache server is stored in the master configuration file/etc/httpd/conf/httpd. in conf, there are a
Tests show that:When mod_evasive successfully blocks an ip address, apache logs still have access records; Official Address of mod_evasive: http://www.zdziarski.com/ProjectsMod_evasive Wget
# The configuration file based on the NCSA server is compiled by RobMcCool! # Main configuration file of the Apache server. It includes directory settings of server commands. # For details, see URL: www. apache. orgdocs # Read the commands based on
Environment deployment:
this experiment to redhat6.5 system as the installation object, (CentOS other series can also) install Apache source Package httpd-2.4.29.tar.bz2 Dependency Package pcre-8.41.tar.gz, apr-1.6.3.tar.bz2,
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.