The reference here is Apache Server1_3_12_win32.
ServerType standalone
# Set the server to standalone or inetd. The former is generally used.
ServerRoot "d:/Apache"
# Set the Home Directory of the server to store the setting files, error files, and record files of the server.
PidFile logs/httpd. pid
# Store the httpd process id of the parent process in this file when the program starts. The file name can be changed with the PidFile command.
ScoreBoardFile logs/apache_status
# Set the record files of some execution programs on the WWW server on the network.
# ResourceConfig conf/srm. conf
# AccessConfig conf/access. conf
# The content of these two files is already included in the httpd. conf file.
Timeout 300
# If the client has not been connected for 300 seconds, or the server has not transferred data to the client for 300 seconds, it will be automatically disconnected.
KeepAlive On
# Set whether to support continuous data transfer.
MaxKeepAliveRequests 100
# Set the number of support for continuous data transfer. More disk space is wasted. If the value is set to 0, data is not transmitted continuously.
KeepAliveTimeout 15
# If the user does not send a request to the server after 15 seconds, the user cannot resume the transfer.
MaxRequestsPerChild 0
# Set the number of child processes in the same time.
ThreadsPerChild 50
# Set the number of processes used by the server.
# Listen 3000.
# Listen 12.34.56.78: 80
# Allow other ports or IP addresses to access the server. In this example, Port is 3000 and IP is 12.34.56.78: 80.
# BindAddress *
# You can specify the IP addresses that Apache listens.
# LoadModule anon_auth_module modules/ApacheModuleAuthAnon. dll
......
# Open the pre-activated module.
# ExtendedStatus On
# Set the status information generated by the server.
The reference here is Apache Server1_3_12_win32.
Port 80
# Set the Port used by the server.
ServerAdmin you@your.address
# Set the email address of the Server Manager.
# ServerName new. host. name
# Server host name. If you have a fixed IP address, you do not need to set it.
DocumentRoot "d:/Apache/htdocs"
# Set the directory for storing html files of the website.
<Directory/>
Options FollowSymLinks
AllowOverride None
</Directory>
# Set/directory commands. Details:
Option: defines the operations that can be performed in the directory. None indicates that only browsing is allowed. FollowSymLinks allows the page to be connected elsewhere. ExecCGI allows CGI and MultiViews allows operations such as watching animations or listening to music. Indexes allows the server to return to the directory formatting list, while des allows SSI. You can check these settings. All can do anything, but does not include MultiViews.