apache 基本配置
1.1 ServerRoot 配置
【ServerRoot "" 主要用于指定Apache的安裝路徑,此選項(xiàng)參數(shù)值在安裝Apache時(shí)系統(tǒng)會(huì)自動(dòng)把Apache的路徑寫(xiě)入。Windows安裝時(shí),該選項(xiàng)的值為Windows安裝的路徑,Linux安裝時(shí)該選項(xiàng)值為編譯時(shí)選擇的路徑】
1.2Mutex default:logs
互斥:允許你為多個(gè)不同的互斥對(duì)象設(shè)置互斥機(jī)制【mutex mechanism】和互斥文件目錄,或者修改全局默認(rèn)值
如果互斥對(duì)象是基于文件的以及默認(rèn)的互斥文件目錄不在本地磁盤(pán)或因?yàn)槠渌蚨贿m用,那么取消注釋并改變目錄。
【下面這個(gè)命令是改變互斥對(duì)象的目錄】
1.3Listen 配置
【Listen主要偵聽(tīng)web服務(wù)端口狀態(tài),默認(rèn)為:80,即偵聽(tīng)所有的地址的80端口,注意這里也可以寫(xiě)成IP地址的偵聽(tīng)形式,不寫(xiě)即默認(rèn)的地址:0.0.0.0】
1.4 Dynamic Shared Object (DSO) Support(動(dòng)態(tài)共享對(duì)象支持)
【主要用于添加Apache一些動(dòng)態(tài)模塊,比如php支持模塊。重定向模塊,認(rèn)證模塊支持,注意如果需要添加某些模塊支持,只需把相關(guān)模塊前面注釋符號(hào)取消掉。如圖所示,要對(duì)Apache添加某個(gè)功能模塊,把前面的注釋符號(hào)去掉就行】
1.5 Apache運(yùn)行用戶配置
【此選項(xiàng)主要用指定Apache服務(wù)的運(yùn)行用戶和用戶組,默認(rèn)為:daemon,如圖所示下】
1.6 Apache服務(wù)默認(rèn)管理員地址設(shè)置
【此選項(xiàng)主要用指定Apache服務(wù)管理員通知郵箱地址,選擇默認(rèn)值即可,如果有真實(shí)的郵箱地址也可以設(shè)置此值】
1.7 Apache的默認(rèn)服務(wù)名及端口設(shè)置
【此選項(xiàng)主要用指定Apache默認(rèn)的服務(wù)器名以及端口,默認(rèn)參數(shù)值設(shè)置為:ServerName localhost:80即可】
1.8 Apache的根目錄訪問(wèn)控制設(shè)置
【此選項(xiàng)主要是針對(duì)用戶對(duì)根目錄下所有的訪問(wèn)權(quán)限控制,默認(rèn)Apache對(duì)根目錄訪問(wèn)都是拒絕訪問(wèn)。后面會(huì)繼續(xù)講到】
1.6 Apache的默認(rèn)網(wǎng)站根目錄設(shè)置及訪問(wèn)控制
【此區(qū)域的配置文件,主要是針對(duì)Apache默認(rèn)網(wǎng)站根目錄的設(shè)置以及相關(guān)的權(quán)限訪問(wèn)設(shè)置,默認(rèn)對(duì)網(wǎng)站的根目錄具有訪問(wèn)權(quán)限,此選項(xiàng)默認(rèn)值即可】
1.9 Apache的默認(rèn)首頁(yè)設(shè)置
【此區(qū)域文件主要設(shè)置Apache默認(rèn)支持的首頁(yè),默認(rèn)只支持:index.html首頁(yè),如要支持其他類(lèi)型的首頁(yè),需要在此區(qū)域添加:如index.php表示支持index.php類(lèi)型首頁(yè)】
1.10 Apache關(guān)于.ht文件訪問(wèn)配置
【此選項(xiàng)主要是針對(duì).ht文件訪問(wèn)控制,默認(rèn)為具有訪問(wèn)權(quán)限,此區(qū)域文件默認(rèn)即可】
1.11 Apache關(guān)于日志文件配置
【此區(qū)域文件主要是針對(duì)Apache默認(rèn)的日志級(jí)別,默認(rèn)的訪問(wèn)日志路徑,默認(rèn)的錯(cuò)誤日志路徑等相關(guān)設(shè)置,此選項(xiàng)內(nèi)容默認(rèn)即可】
1.11 URL重定向,cgi模塊配置說(shuō)明
【此區(qū)域文件主要包含一些URL重定向,別名,腳本別名等相關(guān)設(shè)置,以及一些特定的處理程序,比如cgi設(shè)置說(shuō)明。后期會(huì)繼續(xù)說(shuō)道】
1.12 MIME媒體文件,以及相關(guān)http文件解析配置說(shuō)明
【此區(qū)域文件主要包含一些mime文件支持,以及添加一些指令在給定的文件擴(kuò)展名與特定的內(nèi)容類(lèi)型之間建立映射關(guān)系,比如添加對(duì)php文件擴(kuò)展名映射關(guān)系。】
1.13 服務(wù)器頁(yè)面提示設(shè)置
【此區(qū)域可定制的訪問(wèn)錯(cuò)誤響應(yīng)提示,支持三種方式:1明文 ,2本地重定向 3,外部重定向;另外還包括內(nèi)存映射或“發(fā)送文件系統(tǒng)調(diào)用”可被用于分發(fā)文件等配置】
1.14 Apache服務(wù)器補(bǔ)充設(shè)置
【此區(qū)域主要包括:服務(wù)器池管理,多語(yǔ)言錯(cuò)誤消息,動(dòng)態(tài)目錄列表形式配置,語(yǔ)言設(shè)置,用戶家庭目錄,請(qǐng)求和配置上的實(shí)時(shí)信息,虛擬主機(jī),Apache Http Server手冊(cè),分布式創(chuàng)作和版本控制,多種類(lèi)默認(rèn)設(shè)置,mod_proxy_html,使其支持HTML4/XHTML1等等補(bǔ)充配置的補(bǔ)充】
1.15 Apache服務(wù)器安全連接設(shè)置
【此區(qū)域主要是關(guān)于服務(wù)器安全連接設(shè)置,用于使用https連接服務(wù)器等設(shè)置的地方】
Apache常用配置詳解
Apache配置文件:conf/httpd.conf。(注意:表示路徑時(shí)使用‘/’而不使用‘’,注釋使用‘#’)
1. ServerRoot:服務(wù)器根目錄,也就是Apache的安裝目錄,其他的目錄配置若是使用相對(duì)路徑,都是相對(duì)于服務(wù)器根目錄的。
配置示例:
ServerRoot “D:/wamp/bin/Apache2.4.23”
2. Listen:服務(wù)器監(jiān)聽(tīng)的端口,可以只配置端口,也可以同時(shí)指定IP地址和端口,還可以指定使用的協(xié)議。(可配置多個(gè)端口)
完整配置示例:
Listen 127.0.0.1:80 http
3. DocumentRoot:網(wǎng)站的根目錄,也就是放置網(wǎng)站文件的地方。
配置示例:
DocumentRoot = “D:/wamp/www”
4. LoadModule:加載特定的DSO模塊,這些已編譯的DSO模塊存放于Apache安裝目錄下的modules目錄中。
配置示例:
LoadModule actions_module modules/mod_actions.so
5. User:設(shè)置實(shí)際提供服務(wù)的子進(jìn)程的用戶。
配置示例:
User daemon
6. Group:設(shè)置提供服務(wù)的Apache子進(jìn)程運(yùn)行時(shí)的用戶組。
配置示例:
Group daemon
7. ServerAdmin:設(shè)置在所有返回給客戶端的錯(cuò)誤信息中包含的管理員的郵件地址。(也可以使用URL)
配置示例:
ServerAdmin 23423423@qq.com
8. ServerName:設(shè)置服務(wù)器用于識(shí)別自己的主機(jī)名和端口號(hào)。如果沒(méi)有指定端口號(hào),服務(wù)器會(huì)使用接受請(qǐng)求的那個(gè)端口。
配置示例:
ServerName localhost:80
9. <Directory>:和</Directory>一起用于封裝一組指令,使之僅對(duì)某個(gè)目錄及其子目錄生效。該指令不能被嵌套使用,也不能出現(xiàn)
在<Limit>或<LimitExcept>配置段中。
配置示例:
<Directory “D:/wamp/www”>
Options Indexes FollowSymLinks MultiViews Includes IncludesNOEXEC ExecCGI
AllowOverride None
Order allow, deny
allow from all
</Directory>
指令及其參數(shù)說(shuō)明:
(1)Options:控制在特定目錄中將使用哪些服務(wù)器特性。
Indexs:若訪問(wèn)目錄下無(wú)index文件,則準(zhǔn)許顯示該目錄下的文件列表以供選擇。
FollowSymLinks:準(zhǔn)許在目錄中使用符號(hào)鏈接到其他目錄。
MultiViews:準(zhǔn)許內(nèi)容協(xié)商的“多重視圖”。如果客戶端請(qǐng)求的路徑可能對(duì)應(yīng)多種類(lèi)型的文件,服務(wù)器將根據(jù)客戶端請(qǐng)求的具體情
況自動(dòng)選擇一個(gè)最匹配客戶端要求的文件。例如只在地址欄輸入index也可以訪問(wèn)到index.php頁(yè)面。
Includes:準(zhǔn)許SSI。
IncludesNOEXEC:準(zhǔn)許SSI,但不可使用exec和include功能。
ExecCGI:準(zhǔn)許在該目錄下使用CGI。
All:表示除了MultiViews之外的所有特性。
None:表示不啟用任何的服務(wù)器特性。
注意:如果一個(gè)目錄被多次設(shè)置了options,則最特殊的一個(gè)會(huì)被完全接受。
(2)AllowOverrid:是否準(zhǔn)許文件“.htaccess”中設(shè)定的權(quán)限覆蓋“access.conf”文件中設(shè)定的權(quán)限。
All:準(zhǔn)許覆蓋。
None:不準(zhǔn)許覆蓋。
AuthConfig:允許使用與認(rèn)證授權(quán)相關(guān)的指令。
FileInfo:允許使用控制文檔類(lèi)型的指令、控制文檔元數(shù)據(jù)的指令、mod_rewrite中的指令、mod_actions中的Action指令。
Indexs:允許使用控制目錄索引的指令。
Limit:允許使用控制主機(jī)訪問(wèn)的指令。
(3)Order:控制默認(rèn)的訪問(wèn)狀態(tài)和allow、deny指令生效的順序。
allow:允許訪問(wèn)。
deny:拒絕訪問(wèn)。
這兩個(gè)參數(shù)由最后一個(gè)出現(xiàn)的參數(shù)決定,如“Order allow,deny”默認(rèn)拒絕了所有的意思(中間有且只有一個(gè)逗號(hào)),但最終的判斷
結(jié)果還要總下面的allow、deny語(yǔ)句中各自所包含的范圍(如果有的話),這兩個(gè)語(yǔ)句后面都一定接著“from”,否則Apache
會(huì)無(wú)法啟動(dòng)。“Order allow,deny”表示先判斷allow語(yǔ)句再判斷deny語(yǔ)句。
注意:上面的Order和allow、deny語(yǔ)句是針對(duì)Apache2.2的配置,Apache2.4的客戶端訪問(wèn)控制由Require語(yǔ)句來(lái)配置。
區(qū)別示例:
拒絕所有請(qǐng)求:
2.2配置:
Order deny,allow
deny from all
2.4配置:
Require all denied
允許所有請(qǐng)求:
2.2配置:
Order allow,deny
allow from all
2.4配置:
Require all granted
只允許某個(gè)特定IP的訪問(wèn):
2.2配置:
Order deny,allow
deny from all
allow IP-address
2.4配置
Require host IP-addres
10. <Files>:提供基于文件名的訪問(wèn)控制。<Files>段將根據(jù)他們?cè)谂渲梦募谐霈F(xiàn)的順序被處理:在<Directory>段和.htaccess文件被處理之后,但在<Location>段之前。<Files>能嵌
入到<Directory>段中以限制它們作用的文件范圍。也可用于.htaccess文件當(dāng)中,以允許用戶在文件層面上控制對(duì)文件的訪問(wèn)。
配置示例:
<Files ".ht*">
Require all denied
</Files>
11. <IfModule>:封裝根據(jù)指定的模塊是否啟用而決定是否生效的指令。
配置示例:
<IfModule http2_module>
ProtocolsHonorOrder On
Protocols h2 h2c http/1.1
</IfModule>
12.DirectoryIndex:當(dāng)客戶端請(qǐng)求一個(gè)目錄時(shí)尋找的資源列表。
配置示例:
DirectoryIndex index.php index.htm index.html
(服務(wù)器將返回最先找到的那一個(gè))
13. ErrorLog:指定當(dāng)服務(wù)器遇到錯(cuò)誤時(shí)記錄錯(cuò)誤日志的文件。
(若不是一個(gè)以“/”開(kāi)頭的絕對(duì)路徑,則是一個(gè)相對(duì)于ServerRoot的相對(duì)路徑)
配置示例:
ErrorLog "logs/error.log"
14. LogLevel:用于調(diào)整記錄在錯(cuò)誤日志中的信息的詳細(xì)程度。
錯(cuò)誤信息詳細(xì)程度按重要性降序排列如下:
emerg:緊急(系統(tǒng)無(wú)法使用)
alert:必須立即采取措施。
crit:致命情況。
error:錯(cuò)誤情況。
warn:警告情況。
notice:一般重要情況。
info:普通信息。
debug:調(diào)試信息。
(當(dāng)指定了某個(gè)級(jí)別時(shí),所有級(jí)別高于它的信息也會(huì)被同時(shí)記錄)
配置示例:
LogLevel warn
15. LogFormat:定義訪問(wèn)日志的記錄格式。
配置示例:
LogFormat "%h %l %u %t "%r" %>s %b" common
(其中common就是這種格式的標(biāo)識(shí)符)
16. CustomLog:設(shè)定日志的文件名和格式。
配置示例:
CustomLog "logs/access.log" common
(使用標(biāo)識(shí)符common定義的格式來(lái)記錄logs/access.log這個(gè)日志文件)
17. TransferLog:指定日志文件的位置。
本指令除不允許直接定義日志格式或根據(jù)條件進(jìn)行日志記錄外,與CustomLog指令有完全相同的參數(shù)和功能。
18. Alias:映射URL到文件系統(tǒng)的特定區(qū)域。Alias指令使客戶端可以訪問(wèn)到DocumentRoot以外的本地文件。
配置示例:
Alias /myphoto "E:/照片"
<Directory "E:/照片">
Options Indexes
Require all granted
</Directory>
目錄/myphoto是相對(duì)于DocumentRoot的相對(duì)路徑,甚至可以是一個(gè)不存在的目錄,這時(shí)訪問(wèn)該目錄就會(huì)映射到“E:/照片”目錄中。
注意:一定要通過(guò)<Directory>段明確地對(duì)目標(biāo)目錄設(shè)定訪問(wèn)權(quán)限,否則會(huì)提示“forbidden”。
Redirect:將一個(gè)路徑重定向到另一個(gè)路徑下。
配置示例:
Redirect /haha /chsfc
(Redirect和Alias不同,配置中的兩個(gè)路徑都是在DocumentRoot目錄下的)
注意:要使用Alias和Redirect都應(yīng)該先開(kāi)啟alias_module模塊功能。
19. ScriptAlias:映射一個(gè)URL到文件系統(tǒng)并視之為CGI腳本目錄。
配置示例:
ScriptAlias /cgi-bin/ "D:/wamp/bin/Apache2.4.23/cgi-bin"
20. DefaultType:當(dāng)服務(wù)器無(wú)法確定一個(gè)文檔的內(nèi)容類(lèi)型時(shí)發(fā)送的默認(rèn)MIME內(nèi)容類(lèi)型。
配置示例:
DefaultType text/plain (純文本,瀏覽器在內(nèi)部打開(kāi))
DefaultType application/octet-stream (瀏覽器提示用戶進(jìn)行保存)
21. AddType:為特定后綴的文件指定MIME類(lèi)型,這里的設(shè)置將覆蓋mime.types中的設(shè)置。
配置示例:
AddType application/x-httpd-php .php .html .htm (前導(dǎo)點(diǎn)可帶可不帶)
22. ErrorDocument:批示當(dāng)遇到錯(cuò)誤的時(shí)候服務(wù)器將給客戶端什么樣的應(yīng)答。
語(yǔ)法:
ErrorDocument error-code document
其中error-code時(shí)服務(wù)器返回的錯(cuò)誤代碼,document是回應(yīng)的數(shù)據(jù),可以是簡(jiǎn)單的文本,
本地網(wǎng)頁(yè),本地CGI程序,或遠(yuǎn)程主機(jī)上的網(wǎng)頁(yè)。
配置示例:
ErrorDocument 500 "The server made a boo boo."
ErrorDocument 402 http://www.example.com/subscription_info.html
23. EnableMMAP:指示httpd在遞送中如果需要讀取一個(gè)文件的內(nèi)容,是否可以使用內(nèi)存映射。
配置示例:
EnableMMAP On
EnableMMAP Off
(這種內(nèi)存映射有時(shí)會(huì)帶來(lái)性能的提高,有時(shí)卻會(huì)出現(xiàn)問(wèn)題)
24.EnableSendfile:控制httpd是否可以使用操作系統(tǒng)內(nèi)核的sendfile支持來(lái)將文件發(fā)送到戶端。
配置示例:
EnableSendfile Off
(這個(gè)sendfile機(jī)制避免了分開(kāi)的讀和寫(xiě)操作以及緩沖區(qū)分配,但是在一些平臺(tái)或文件系統(tǒng)上會(huì)引發(fā)一些問(wèn)題)
25. include:在服務(wù)器配置文件中包含其他配置文件。
配置示例:
include conf/extra/httpd-autoindex.conf
在Apache安裝目錄下的conf/extra/目錄中有一些補(bǔ)充配置文件,可以根據(jù)需要,通過(guò)配置將它們包含到主配置文件conf/httpd.conf文件中。
apache的httpd.conf翻譯
# This is the main Apache HTTP server configuration file. It contains the
這是Apache HTTP Server的主配置文件。它包括了
# configuration directives that give the server its instructions.
配置指令【directives】,這些指令給服務(wù)器服務(wù)器指令【instructions】【】
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
查看<URL:http://httpd.apache.org/docs/2.4/>以取得更多信息
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
特別指出,查看<URL:http://httpd.apache.org/docs/2.4/mod/directives.html>以得到關(guān)于每條配置命令的討論
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
不要只是簡(jiǎn)單閱讀這里的每條指令而不理解它們的所做所為【真實(shí)含義】。這里只是一種提示和提醒。如果你不能確定【它們的含義】,請(qǐng)參閱在線文檔。特此警告!
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
# will be interpreted as '/logs/access_log'.
#
關(guān)于配置文件和日志文件的名字:如果你使用了以斜杠“/“開(kāi)始的指定了多個(gè)服務(wù)器控制文件名,那么服務(wù)器將使用那些絕對(duì)路徑。
如 果你沒(méi)有以斜杠“/“開(kāi)始文件名,那么服務(wù)器根路徑(ServerRoot)就是相對(duì)的---所以,像"logs/access_log"這樣的服務(wù)器根 路徑就將被服務(wù)器解釋成加上"/usr/local/apache2"的"/usr/local/apache2/logs/access_log",反 之"/logs/access_log"將被服務(wù)器解釋成"/logs/access_log"
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:apache").
# If a drive letter is omitted, the drive on which httpd.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths to avoid confusion.
注意:在文件名被指定的地方,你必須用“前斜杠”【就是我們平時(shí)說(shuō)的斜杠"/",與問(wèn)號(hào)在同一個(gè)鍵,右手小指下的那個(gè)】代替后斜杠【即“反斜杠/】”(如:用"c:/apache"來(lái)代替"c:apache")。
如果你省略了驅(qū)動(dòng)器符號(hào),那么httpd.exe將使用默認(rèn)的驅(qū)動(dòng)器。建議你總是在絕對(duì)路徑中使用一個(gè)明確的驅(qū)動(dòng)器符號(hào),以避免混淆。
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
ServerRoot:目錄樹(shù)的頂級(jí)根目錄,用來(lái)保存服務(wù)器配置、錯(cuò)誤、日志文件
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used. If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
不要在路徑的最后加斜杠“/“。如果你指定的ServerRoot不是本地磁盤(pán),要確定用互斥指令【Mutex directive】指定一個(gè)本地磁盤(pán),如果基于文件的互斥指令被使用【?】。
如果你希望共享在多個(gè)httpd守護(hù)進(jìn)程【daemons】中共享相同的ServerRoot,你至少需要修改PidFile【?】
#【下面這個(gè)命令是指定服務(wù)器根目錄】
ServerRoot "c:/Apache24"
#
# Mutex: Allows you to set the mutex mechanism and mutex file directory
# for individual mutexes, or change the global defaults
互斥:允許你為多個(gè)不同的互斥對(duì)象設(shè)置互斥機(jī)制【mutex mechanism】和互斥文件目錄,或者修改全局默認(rèn)值
#
# Uncomment and change the directory if mutexes are file-based and the default
# mutex file directory is not on a local disk or is not appropriate for some
# other reason.
如果互斥對(duì)象是基于文件的以及默認(rèn)的互斥文件目錄不在本地磁盤(pán)或因?yàn)槠渌蚨贿m用,那么取消注釋并改變目錄。
#【下面這個(gè)命令是改變互斥對(duì)象的目錄】
# Mutex default:logs
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
偵聽(tīng):允許你綁定Apache服務(wù)器到指定ip地址和/或端口,用來(lái)代替默認(rèn)值。參見(jiàn)<VirtualHost>指令。
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
修改這個(gè)指令以偵聽(tīng)下面指定的ip地址,避免Apache服務(wù)器抓取全部綁定的IP地址
#【下面這個(gè)指令是80端口的IP地址,主網(wǎng)站IP就在這里配置】
#Listen 12.34.56.78:80
Listen 80
#
# Dynamic Shared Object (DSO) Support 動(dòng)態(tài)共享對(duì)象支持
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
為了能夠使用一個(gè)作為DSO創(chuàng)建的模塊【modules】的功能,你需要放置相應(yīng)的【corresponding】`LoadModule'行在這個(gè)位置,這樣在你使用之前,這些指令就包含在模塊中了。
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule auth_form_module modules/mod_auth_form.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_core_module modules/mod_authn_core.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_socache_module modules/mod_authn_socache.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule authz_core_module modules/mod_authz_core.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule cache_socache_module modules/mod_cache_socache.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule data_module modules/mod_data.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule lua_module modules/mod_lua.so
#LoadModule macro_module modules/mod_macro.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule remoteip_module modules/mod_remoteip.so
#LoadModule request_module modules/mod_request.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule session_module modules/mod_session.so
#LoadModule session_cookie_module modules/mod_session_cookie.so
#LoadModule session_crypto_module modules/mod_session_crypto.so
#LoadModule session_dbd_module modules/mod_session_dbd.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module modules/mod_status.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule xml2enc_module modules/mod_xml2enc.so
<IfModule unixd_module>【這里指的是unix系統(tǒng)嗎?】
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#如果你希望httpd以不同的用戶或組來(lái)運(yùn)行,你必須最初以root運(yùn)行httpd,它將切換過(guò)去【?】
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#User/Group:運(yùn)行httpd的用戶名/組 的名字。對(duì)于大多數(shù)系統(tǒng)服務(wù)來(lái)講,為運(yùn)行httpd創(chuàng)建一個(gè)專用用戶和組是一個(gè)好的實(shí)踐方法。
#
User daemon
Group daemon
</IfModule>
# 'Main' server configuration
#“主”服務(wù)器配置
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#本節(jié)的指令集用來(lái)設(shè)置“main"服務(wù)器所使用的值,服務(wù)器響應(yīng)任何沒(méi)有被<VirtualHost>定義所處理的請(qǐng)求。
#這些值也為任何稍后你可能在下面定義的<VirtualHost>容器【containers】提供默認(rèn)值。
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
#所有這些指令可能顯示在<VirtualHost>容器里面,在這種情況下【case】這些默認(rèn)設(shè)置將被覆蓋【?】
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#ServerAdmin:你的郵箱地址,當(dāng)發(fā)生問(wèn)題時(shí)服務(wù)器將向此郵箱發(fā)送郵件。這個(gè)郵箱顯示在一些服務(wù)器生成的頁(yè)面,例如錯(cuò)誤文檔。如:admin@your-domain.com
ServerAdmin admin@example.com
###################################################################
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#ServerName提供用于識(shí)別它自己的名字和端口。名字和端口通常由服務(wù)器自動(dòng)定義,但是我們建議你明確地指定它以避免啟動(dòng)過(guò)程中產(chǎn)生問(wèn)題。
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#如果你的主機(jī)沒(méi)有注冊(cè)DNS名稱,在這里輸入DNS的IP地址。
#
#ServerName www.example.com:80
#
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#拒絕所有對(duì)你服務(wù)器文件系統(tǒng)的訪問(wèn)。你必須在下面其它的<Directory>區(qū)明確許可訪問(wèn)web內(nèi)容目錄
#
<Directory />
AllowOverride none
Require all denied
</Directory>
###################################################################
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#DocumentRoot:你要使用【serve】的文檔的目錄。默認(rèn)為所有請(qǐng)求都從這個(gè)目錄獲取,但是可以使用符號(hào)連接【symbolic link】和別名指定其它位置。
#【下面這個(gè)指令指定文檔目錄,也就是網(wǎng)站的根目錄】
DocumentRoot "c:/Apache24/htdocs"
<Directory "c:/Apache24/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#可能的設(shè)置指令值是“None”,“All”,或者以下任意組合:
#Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#注意那個(gè)"MultiViews"必須準(zhǔn)確命名-----“Options All”將不會(huì)起什么作用【doesn't give it to you】【?】
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html
# for more information.
#選項(xiàng)指令復(fù)雜且重要。請(qǐng)參閱http://httpd.apache.org/docs/2.4/mod/core.html以得到更多信息 #
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
# AllowOverride控制的指令可能包含在.htaccess文件中。它可以是“all”、“None”、或以下關(guān)鍵字的任意組合:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#下面的指令控制誰(shuí)能從這臺(tái)服務(wù)器上獲取東西
#
Require all granted
</Directory>
###################################################################
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
# DirectoryIndex:設(shè)置當(dāng)Apache服務(wù)得到一個(gè)目錄請(qǐng)求的時(shí)候訪問(wèn)的文件【即默認(rèn)首頁(yè)】
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#下面的行禁止.htaccess和.htpasswd文件被web客戶端查看【禁止從瀏覽器訪問(wèn).htaccess和.htpasswd文件】
#
<Files ".ht*">
Require all denied
</Files>
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
# ErrorLog:錯(cuò)誤日志文件的位置。如果你沒(méi)有在<VirtualHost>容器中指定一個(gè)ErrorLog指令,與那個(gè)虛擬主機(jī)相關(guān)的錯(cuò)誤消失將記錄在這里。如果你確實(shí)為一個(gè)<VirtualHost>容器定義了錯(cuò)誤消息文件,那么主機(jī)的錯(cuò)誤日志將被記錄在那里而不是這里。
#
ErrorLog "logs/error.log"
#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#LogLEvel:日志級(jí)別,控制記錄到錯(cuò)誤日志文件中的消息的數(shù)量。可能包括的值有:debug、info、notice、warn、error、crit
#
LogLevel warn
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#下列指令為使用【用戶?】自定義指令定義了一些昵稱格式(看下面)
#
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O 你需要使mod_logio.c可用以使用 %I和%O
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
</IfModule>
#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
#訪問(wèn)日志文件的位置和格式。如果你沒(méi)有定義任何<VirtualHost>容器訪問(wèn)日志文件,它們將記錄在這里。反之,如果你確定定義了全部<VirtualHost>訪問(wèn)日志文件,事務(wù)【transactions】將把日志記錄在那里而非這里的文件。
CustomLog "logs/access.log" common
#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#如果你指定一個(gè)日志文件的訪問(wèn)、代理和參考信息(包含日志格式)你可以使用下面的指令。
#
#CustomLog "logs/access.log" combined
</IfModule>
<IfModule alias_module>
#
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
#Redirect:允許你通知客戶端以前存在于服務(wù)器名字空間的文檔,現(xiàn)在已經(jīng)不存在了。客戶端將發(fā)送一個(gè)新請(qǐng)求以獲得新的文檔位置。
# Example:
# Redirect permanent /foo http://www.example.com/bar
#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Alias:別名,映射網(wǎng)絡(luò)路徑到文件系統(tǒng)路徑并被且用于訪問(wèn)不存在于網(wǎng)站根目錄的內(nèi)容。
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
#如果你包含了 trainng/on/webpath 那么服務(wù)器將獲取它并呈現(xiàn)在URL中。【?】
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#ScriptAlias:腳本別名,它控制著那些包含服務(wù)器腳本的目錄。“腳本別名”本質(zhì)上與“別名”是相同的,除非目標(biāo)目錄中的文檔被當(dāng)作應(yīng)用程序?qū)Υ⑶耶?dāng)被請(qǐng)求時(shí)由服務(wù)器運(yùn)行而不是當(dāng)作文檔被發(fā)送到客戶端。【當(dāng)目標(biāo)目錄中的文檔是應(yīng)用程序,客戶端有請(qǐng)求時(shí)被服務(wù)器運(yùn)行,而不是以文檔形式被發(fā)送到客戶端,只有這個(gè)時(shí)候腳本別名與別名是不同的】【?】。以斜杠“/”結(jié)尾這個(gè)規(guī)則對(duì)于ScriptAlias和Alias指令是相同的。
#
ScriptAlias /cgi-bin/ "c:/Apache24/cgi-bin/"
</IfModule>
<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX socket used to communicate with the CGI daemon of mod_cgid.
# ScriptSock:在線程服務(wù)器上,指定指向UNIX socket的路徑被用于【經(jīng)常?】與mod_cgid這個(gè)CGI守護(hù)進(jìn)程通信。
#
#Scriptsock cgisock
</IfModule>
#
# "c:/Apache24/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#如果你配置了腳本別名指定的CGI目錄并且它是存在的,那么"c:/Apache24/cgi-bin"這個(gè)目錄應(yīng)該改為那個(gè)目錄。
#
<Directory "c:/Apache24/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
#
# TypesConfig points to the file containing the list of mappings from filename extension to MIME-type.
# TypesConfig指向一個(gè)文件,這個(gè)文件包含一個(gè)從文件擴(kuò)展名到mime-type的映射列表【TypesConfig指向一個(gè)文件,這個(gè)文件包含一個(gè)文件擴(kuò)展名與mime-type的映射列表】
#
TypesConfig conf/mime.types
#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
# AddType允許你為特殊的文件類(lèi)型添加或覆蓋在TypesConfig中規(guī)定的mime配置文件
#
#AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress information on the fly. Note: Not all browsers support this.
# AddEncoding允許你有特定的瀏覽器解壓縮信息的自適應(yīng)能力。注意:并非所有瀏覽器都支持。
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#如果上面的AddEncoding指令被注釋,那么你可能應(yīng)該定義那些擴(kuò)展名以指出媒體類(lèi)型。
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
# AddHandler允許你映射特定文件擴(kuò)展名到"handlers":動(dòng)作與文件類(lèi)型無(wú)關(guān)。這也可以內(nèi)建于服務(wù)器或者與動(dòng)作指令【Action directive】一起添加(看下面)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#為了在腳本別名指定的目錄外使用CGI腳本:(你也需要添加"ExecCGI"到"Options"指令)
#AddHandler cgi-script .cgi
# For type maps (negotiated resources):為了類(lèi)型映射(協(xié)議資源)【?】
#AddHandler type-map var
#
# Filters allow you to process content before it is sent to the client.
# Filters允許你在內(nèi)容被發(fā)送到客戶端之前處理它。
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#為“服務(wù)器端包含”分析.shtml文件:(你也需要添加“includes”到"Options"指令)
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>
#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
# mod_mime_magic模塊允許服務(wù)器使用多種提示,這些提示來(lái)自文件自身內(nèi)容用來(lái)定義它【指的是文件?】自己的類(lèi)型
#MIMEMagicFile conf/magic
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#可定制的錯(cuò)誤響應(yīng)支持三種方式:1)明文 2)本地重定向 3)外部重定向
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#
#
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
# MaxRanges:定義了在一個(gè)請(qǐng)求返回全部資源之前Ranges的最大數(shù)字,或者在'default', 'none' or 'unlimited'三個(gè)值中指定的一個(gè)值。
#MaxRanges unlimited
#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted filesystems or if support for these functions is otherwise broken on your system.
# Defaults: EnableMMAP On, EnableSendfile Off
# EnableMMAP and EnableSendfile:在支持它的系統(tǒng)上,內(nèi)存映射或“發(fā)送文件系統(tǒng)調(diào)用”可被用于分發(fā)文件。這通常能提高服務(wù)器性能,但是當(dāng)服務(wù)來(lái)自“網(wǎng)絡(luò)設(shè)定的文件系統(tǒng)”【?】時(shí)它必須被關(guān)閉。或者在你的系統(tǒng)上對(duì)于這些功能的支持因?yàn)槠渌虮黄茐摹!荆俊?/p>
#EnableMMAP off
#EnableSendfile on
# Supplemental configuration
#補(bǔ)充配置
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.
# conf/extra/ directory目錄中的配置文件可以被包含以添加擴(kuò)展功能或修改服務(wù)器的默認(rèn)配置,或者必要時(shí)你可以在這里只是復(fù)制它們的內(nèi)容
# Server-pool management (MPM specific)
#服務(wù)器池管理
#Include conf/extra/httpd-mpm.conf
# Multi-language error messages 多語(yǔ)言錯(cuò)誤消息
#Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings動(dòng)態(tài)目錄列表形式配置
#Include conf/extra/httpd-autoindex.conf
# Language settings 語(yǔ)言設(shè)置
#Include conf/extra/httpd-languages.conf
# User home directories 用戶家庭目錄
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration 請(qǐng)求和配置上的實(shí)時(shí)信息
#Include conf/extra/httpd-info.conf
# Virtual hosts 虛擬主機(jī)
#Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual 本地訪問(wèn)Apache Http Server手冊(cè)。
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV) 分布式創(chuàng)作和版本控制
#Include conf/extra/httpd-dav.conf
# Various default settings 多種類(lèi)默認(rèn)設(shè)置
#Include conf/extra/httpd-default.conf
# Configure mod_proxy_html to understand HTML4/XHTML1 配置mod_proxy_html,使它支持HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>
# Secure (SSL/TLS) connections安全連接
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#注意:
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
#
# uncomment out the below to deal with user agents that deliberately
# violate open standards by misusing DNT (DNT *must* be a specific
# end-user choice)
#
#<IfModule setenvif_module>
#BrowserMatch "MSIE 10.0;" bad_DNT
#</IfModule>
#<IfModule headers_module>
#RequestHeader unset DNT env=bad_DNT
#</IfModule>
總結(jié)
以上是生活随笔為你收集整理的apache 基本配置的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 酷睿i9-13900K游戏性能抢先测试:
- 下一篇: Intel A310亮机卡曝光:600多