# 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 your understanding of the purpose. # After reading this document, the server will continue searching and running # E: Pr
# The configuration file based on the NCSA server is compiled by Rob McCool! # Apache server master configuration file. Directory settings including server commands. # For details, see URL: http://www.apache.org/docs/ # Please read each command on the basis of understanding the purpose. # After reading this document, the server will continue searching and running # E:/Pr
# NCSA-basedServerOfConfigurationFileWritten by Rob McCool!
#
# ApacheServerMasterConfigurationFile. IncludesServerCommand directory settings.
# For details, see
#
# Read the instructions on the basis of understanding the purpose.
#
# After reading this document,ServerWill continue searching and running
# E:/Program Files/Apache Group/Apache/conf/srm. conf
# E:/Program Files/Apache Group/Apache/conf/access. conf
# Unless ResourceConfig or AccessConfig is used to overwrite the identifier here
#
#ConfigurationAn identifier consists of three basic parts:
#1. Control Apache as a wholeServerThe 'Global environment ').
#2. used to define the master (default)ServerParameter ID.
# Respond to requests that cannot be processed by the VM.
# The setting values of all virtual hosts are also provided.
#3. VM settings. In an ApacheServerIn ProcessConfigurationDifferent IP addresses and host names.
#
#ConfigurationAnd logsFileName: SpecifiedServerControlFileWhen naming,
# Start with "/" (or "drive:/" for Win32,ServerThese absolute paths will be used.
# IfFileThe name does not start "/".ServerRoot directory --
# Therefore, "logs/foo. log", ifServerThe root directory is "/usr/local/apache ",
#ServerIt will be interpreted as "/usr/local/apache/logs/foo. log ".
#
# Note: The specifiedFileThe name must be replaced "\".
# (For example, "c:/apache" replaces "c: \ apache ").
# If the driver name is omitted, use the drive letter of apache.exe
# We recommend that you specify a drive letter to avoid confusion.
#
### Part 1: Global Environment
#
# This section affects all Apache operations.
# For example, the number of concurrent requests that can be processed orConfigurationFileAddress
#
#
# ServerType can be set to inetd or standalone. Inetd only for Unix platforms
#
ServerType standalone
#
# ServerRoot: Root Node of the directory tree.ServerConfiguration, Error information, logsFileAre saved in the root directory.
#
# Do not add "/" to the end of the Directory "/"
#
ServerRoot "C:/Program Files/Apache Group/Apache"
#
# PidFile:ServerUsed to record the process ID at startupFile.
#
PidFile logs/httpd. pid
#
# ScoreBoardFile: used to save internalServerProcess InformationFile.
# Not required. However, ifFileGenerated when Apache is run)
# Make sure that no two Apache processes share the same scoreboard.File.
#
ScoreBoardFile logs/apache_runtime_status
#
# In the standardConfiguration,ServerRead httpd. conf in sequence (thisFileCan be specified through the-f parameter in the command line ),
# Srm. conf and access. conf.
# The last twoFileIs empty. For the sake of simplicity, it is recommended to put all the identifiers in oneFile.
# The following two annotations are set by default.
# MakeServerIgnore theseFileYou can use "/dev/null" (for Unix)
# Or "nul" (for Win32) as the parameter.
#
# ResourceConfig conf/srm. conf
# AccessConfig conf/access. conf
#
# Timeout: the time when the timeout is accepted and sent.
#
Timeout 300
#
# KeepAlive: whether to allow connection persistence (each connection has multiple requests)
# "Off"-invalid
#
KeepAlive On
#
# MaxKeepAliveRequests: Maximum number of requests for each connection.
# Setting 0 indicates no restriction
# It is recommended to set a high value for the best performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: the waiting time between two requests from the same client.
#
KeepAliveTimeout 15
#
# In Win32, Apache generates a sub-process each time to process the request.
# If the process is dead, another sub-process is automatically generated.
# All incoming requests are processed in multiple threads in the sub-process.
# The following two identifiers are used to control the running of processes:
5 pages in total: Previous Page
12345 next page
- Last article: Install patches for Apache to ensure security
- Next article: Solve Cannot load/usr/local/apache/modules/libphp5.so