ÁúÔÚÌìÑÄ
来源: BlogBus 原始链接: http://blogbus.com:80/blogbus/blog/diary.php?diaryid=172878 存档链接: https://web.archive.org/web/20041122160608id_/http://blogbus.com:80/blogbus/blog/diary.php?diaryid=172878
·µ»ØÊ×Ò³ | BLOGBUS ½²»°ÕûÀí Hi ¼ÇÊ ÕâÊÇ×îºóµÄMT_mt.cfg ,½ØÖÁ17£º30 ÕâÊÇ×îºóµÄApache_httpd.conf ,½ØÖÁ17£º30 Movable Type °²ÑbÖ¸Òý OurInternet_mt mt.cfg OurInternet_mt httpd.conf mt.cfg Îҵĵç×ÓÓÊÏäºÍÍøÖ¾µØÖ· <<<Movable Type °²ÑbÖ¸Òý | ·µ»ØÊ×Ò³ | ÕâÊÇ×îºóµÄMT_mt.cfg ,½ØÖÁ17£º30>>> ÕâÊÇ×îºóµÄApache_httpd.conf ,½ØÖÁ17£º30 ÁúÔÚÌìÑÄ ·¢±íÓÚ 2004-05-12
×î³õÓÉ Rob McCool »ùÓÚ NCSA server ÅäÖÃÎļþ
Section 1: Global Environment
ServerType ¶¨ÒåΪ inetd »ò standalone Ö®Ò»£¬Inetd ģʽֻÓÃÓÚ Unix ƽ̨
ServerType standalone
Ö÷»ú·¾¶
ServerRoot "D:/usr/local/apache"
PidFile ·¾¶
PidFile logs/httpd.pid
ScoreBoardFile: File used to store internal server process information.
Not all architectures require this. But if yours does (you'll know because
this file will be created when you run Apache) then you must ensure that
no two invocations of Apache share the same scoreboard file.
ScoreBoardFile logs/apache_runtime_status
In the standard configuration, the server will process httpd.conf (this
file, specified by the -f command line option), srm.conf, and access.conf
in that order. The latter two files are now distributed empty, as it is
recommended that all directives be kept in a single file for simplicity.
The commented-out values below are the built-in defaults. You can have the
server ignore these files altogether by using "/dev/null" (for Unix) or
"nul" (for Win32) for the arguments to the directives.
#ResourceConfig nul #AccessConfig nul
³¬Ê±(Ãë)
Timeout 300
³Ö¾ÃÁ¬½Ó
KeepAlive On
×î´ó³Ö¾ÃÁ¬½ÓÇëÇó
MaxKeepAliveRequests 100
³Ö¾ÃÁ¬½Ó³¬Ê±(Ãë)
KeepAliveTimeout 15
ÿ¸ö×Ó½ø³Ì×î´óÇëÇó(0=ÎÞÏÞ)
MaxRequestsPerChild 0
ÿ¸ö×Ó½ø³ÌÏß³Ì
ThreadsPerChild 50
¼àÌý
#Listen 3000 #Listen 12.34.56.78:80
ÏÞÖÆµØÖ·
#BindAddress *
×¢Ò⣺ģ¿é¼ÓÔØË³ÐòºÜÖØÒª£¬ÔÚûÓÐר¼Ò½¨ÒéµÄÇé¿öϲ»ÒªËæ±ã¸Ä¶¯¡£
#LoadModule vhost_alias_module modules/mod_vhost_alias.so #LoadModule mime_magic_module modules/mod_mime_magic.so #LoadModule status_module modules/mod_status.so #LoadModule info_module modules/mod_info.so #LoadModule speling_module modules/mod_speling.so #LoadModule rewrite_module modules/mod_rewrite.so #LoadModule anon_auth_module modules/mod_auth_anon.so #LoadModule dbm_auth_module modules/mod_auth_dbm.so #LoadModule digest_auth_module modules/mod_auth_digest.so #LoadModule digest_module modules/mod_digest.so #LoadModule proxy_module modules/mod_proxy.so #LoadModule cern_meta_module modules/mod_cern_meta.so #LoadModule expires_module modules/mod_expires.so #LoadModule headers_module modules/mod_headers.so #LoadModule usertrack_module modules/mod_usertrack.so #LoadModule unique_id_module modules/mod_unique_id.so
[ÎÞÂÛÄãÉÏÃæ¸Ä±äÁËʲôģ¿é£¬ÔÚÕâÀï×öͬÑù¸Ä±ä£¡]
ClearModuleList #AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_log_config.c #AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c #AddModule mod_status.c #AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_isapi.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c #AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c #AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c #AddModule mod_auth_anon.c #AddModule mod_auth_dbm.c #AddModule mod_auth_digest.c #AddModule mod_digest.c #AddModule mod_proxy.c #AddModule mod_cern_meta.c #AddModule mod_expires.c #AddModule mod_headers.c #AddModule mod_usertrack.c #AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c
À©Õ¹Çé¿ö
#ExtendedStatus On
²¿·Ö 2: Ö÷»úÅäÖÃ
¶Ë¿Ú
Port 80
Ö÷»ú¹ÜÀíÔ±ÐÅÏä
ServerAdmin webmaster@localhost
Ö÷»úÃû
ServerName localhost
ÎĵµÂ·¾¶
DocumentRoot "D:/usr/www/html"