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.
Description of the HTTP. conf parameter in the Apache configuration file
Apache configuration is configured in the httpd. conf file. Therefore, the following configuration commands are all modified in the httpd. conf file.Configuration of the
# 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
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
# 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
In the apache main configuration file confhttp. conf Add the following encoded: workspace_phpapache-php.conf # file path can be arbitrary under the D: workspace_php file to create a apache-php.conf file its specific content is # PHP-Modulesetup #
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
Configuration files control all aspects of the server, so you need to set these three files for normal operation of the server.
In addition to these three settings files, Apache uses the mime. types file to identify different files.For the
The. htaccess file should be used when the content provider needs to change the server configuration for a specific directory without the root permission. If the server administrator is unwilling to modify the configuration frequently, you can allow
The configuration file of the Apache server is located in the usrlocalapacheconf directory. Traditionally, three configuration files httpd. conf, access. conf, and srm. conf are used to configure the behavior of the Apache server. Httpd. conf
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.