某Apache服務(wù)器的配置文件httpd.conf包含如下所示配置項。在 (1) 處選擇合適的選項,使得用戶可通過http://www.test.cn訪問到該Apache服務(wù)器;當(dāng)用戶訪問http://111.25.4.30:80時,會訪問到 (2) 虛擬主機(jī)。
Name VirtualHost 111.25.4.30:80
ServerName www.othertest.com
DocumentRoot /www/othertest
ServerName (1)
DocumentRoot /www/otherdate
ServerName www.test.com
ServerAlias test.com *.test.com
DocumentRoot /www/test
(1)A、www.othertest.com
B、www.test.com
C、www.test.cn
D、ftp.test.com
(2)A、www.othertest.com
B、www.test.com
C、www.test.cn
D、ftp.test.com