The Apache Server1_3_12_win32 version is referenced here. ServerType standalone #设置服务器的形式是单独启动 (standalone), or by the Internet servo program inetd to start. The former is generally used. ServerRoot "D:/apache" #设置服务器的Home目录, used to store the server's settings files, error files, record files. Pidfile Logs/httpd.pid #程序启动时, the process ID of the parent process httpd is present in this file. This file name can be changed with the pidfile directive. Scoreboardfile logs/apache_status #设置网络上WWW服务器一些执行程序的记录文件. #ResourceConfig conf/srm.conf #AccessConfig conf/access.conf #这两个文件的内容已经包含在httpd. conf file. Timeout #如果客户端300秒还没有连上, or the server has not transmitted data to the client for 300 seconds, it will be automatically disconnected. KeepAlive on #设置是否支持续传功能. Maxkeepaliverequests #设置支持续传功能的数目. The larger the number, the more hard disk space is wasted. Set to 0 for more than a continuous pass. KeepAliveTimeout #如果该为使用者在15秒后还没有向服务器发出要求, he is not able to continue to preach. Maxrequestsperchild 0 #设置同时间内child process number. Threadsperchild #设置服务器使用进程的数目. #Listen #Listen 12.34.56.78:80 #允许使用其它的Port或IP访问服务器. In this example, the port is 3000,ip to 12.34.56.78:80. #BindAddress * #设置Apache监听所有的IP, can also be specified specifically. #LoadModule anon_auth_module modules/apachemoduleauthanon.dll ... #打开当前未激活预定以的模块. #ExtendedStatus on #设置服务器产生的状态信息. The Apache Server1_3_12_win32 version is referenced here. Port #设置服务器使用的Port. SeRveradmin you@your.address #设置服务器管理者的E-mail address. #ServerName new.host.name #服务器的主机名. If you have a fixed IP address, you do not need to set it. DocumentRoot "D:/apache/htdocs" #设置存放站点html文件的目录. Options followsymlinks allowoverride NoneInstructions for #设置/directory. Description: Option: Defines the actions that can be performed within the directory. None means only browsing, FollowSymLinks allows pages to be connected elsewhere, EXECCGI allows cgi,multiviews to be allowed to watch animations or listen to music, indexes allows the server to return a formatted list of directories, Includes allows SSI to be used. These settings can be checked. All can do anything, but not include multiviews. AllowOverride: The plus none parameter means that anyone can browse files in that directory. Additional parameters are: FileInfo, Authconfig, Limit. Userdir "d:/apache/users/" #定义使用者存放html文件的目录. DirectoryIndex index.html #定义首先显示的文件. Accessfilename. htaccess #定义每个目录访问控制文件的名称. #CacheNegotiatedDocs define a proxy server do not cache your page. It is not recommended. Usecanonicalname on #服务器使用ServerName指定的服务器名和Port指定的端口地址. Original Author: Pawn Source: Pawn World Wide Web
http://www.bkjia.com/PHPjc/509188.html www.bkjia.com true http://www.bkjia.com/PHPjc/509188.html techarticle the Apache Server1_3_12_win32 version is referenced here. ServerType standalone #设置服务器的形式是单独启动 (standalone), or by the Internet servo program inetd to start ...