apache 局域网访问配置方案第1/2页

2019-10-15 22:06:41于丽


# MaxSpareServers: maximum number of server processes which are kept spare  

# MaxClients: maximum number of server processes allowed to start  

# MaxRequestsPerChild: maximum number of requests a server process serves   

<IfModule mpm_prefork_module>   

    StartServers          5   

    MinSpareServers       5   

    MaxSpareServers      10   

    MaxClients          150   

    MaxRequestsPerChild   0   

</IfModule>  

 

# ThreadsPerChild: constant number of worker threads in the server process  

# MaxRequestsPerChild: maximum  number of requests a server process serves  

#ThreadsPerChild 250   

MaxRequestsPerChild  0  

 

#  

# ServerRoot: The top of the directory tree under which the server's  

# configuration, error, and log files are kept.  

#  

# Do not add a slash at the end of the directory path.  If you point  

# ServerRoot at a non-local disk, be sure to point the LockFile directive  

# at a local disk.  If you wish to share the same ServerRoot for multiple  

# httpd daemons, you will need to change at least LockFile and PidFile.  

#   

ServerRoot "g:/AppServ/Apache2.2" 

 

#  

# Listen: Allows you to bind Apache to specific IP addresses and/or  

# ports, instead of the default. See also the <VirtualHost>  

# directive.  

#  

# Change this to Listen on specific IP addresses as shown below to   

# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)