[单选题]

某 Apache 服务器的配置文件 httpsd.conf 包含如下所示配置项。在(32)处选择合

适的选项,使得用户可通过 https://www.test.cn 访问到该 Apache 服务器;当用户访问 https://

111.25.4.30:80 时,会访问到 (33) 虚拟主机。

NameVirtualHost 111.25.4.30: 80

<VirtualHost 111.25.4.30: 80>

ServerName www.othertest.com

D.ocumentRoot /www/othertest

</VirtualHost>

<VirtualHost 111.25.4.30: 80>

ServerName (32)

D.ocumentRoot /www/otherdate

</VirtualHost>

<VirtualHost 111.25.4.30: 80>

ServerName www.test.com

ServerAlias test.com *.test.com

D.ocumentRoot /www/test

</VirtualHost>

(32)

A.www.othertest.com

B.www.test.com

C.www.test.cn

D.ftp.test.com

(33)

A.www.othertest.com

B.www.test.com

C.www.test.cn

D.ftp.test.com

参考答案与解析:

相关试题

某Apache服务器的配置文件httpd.conf包含如下所示配置项。在(32)

[单选题]某Apache服务器的配置文件httpsd.conf包含如下所示配置项。在(32)处选择合适的选项,使得用户可通过https://www.test.cn访问到该Apache服务器;当用户访问https:// 111.25.4.30:80时,会访问到(33)虚拟主机。NameVirtualHost 111.25.4.30: 80<VirtualHost 111.25.4.30: 80>ServerName www.othertest.comD.ocumentRoot /www/othertest<

  • 查看答案
  • Apache服务器进程配置文件是 httpd.conf 。

    [主观题]A.pache服务器进程配置文件是 httpsd.conf 。

  • 查看答案
  • Httpd.conf是Web服务器的主配文件,由管理员进行配置,Srm.conf

    [主观题]H.ttpd.conf是Web服务器的主配文件,由管理员进行配置,Srm.conf是Web服务器的资源配置文件,Access.conf是设置访问权限文件。( )

  • 查看答案
  • 某Linux DHCP 服务器dhcpd.conf 的配置文件如下: ddn

    [单选题] 某Linux DHCP 服务器dhcpd.conf 的配置文件如下:ddns-update-style. none;subnet 192.168.0.0 netmask 255.255.255.0{range 192.168.0.200 192.168.0.254;ignore client-updates;default-lease-time 3600;max-lease-time 7200;option routers 192.168.0.1;option domain-name"tes

  • 查看答案
  • Apache服务器的配置文件是______。

    [单选题]A.pache服务器的配置文件是______。A.有一个文件是srm.confB.有二个文件分别是httpsd.conf、access.confC.有3个文件httpsd.conf、access.conf、user.confD.以上都不正确A.B.C.D.

  • 查看答案
  • 某Linux DHCP服务器dhcpd.conf的配置文件如下:ddns£­up

    [单选题]某Linux DHCP服务器dhcpd.conf的配置文件如下: ddns-update-style. none; subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.200 192.168.0.254; ignore client-updates; default-lease-time 3600; max-lease-time 7200; option routers 192.168.0.1: option domain-nam

  • 查看答案
  • Apache配置文件apache2.conf中,使用( )变量把访问者的IP地址传递给Web服务器

    [单选题]Apache配置文件apache2.conf中,使用( )变量把访问者的IP地址传递给Web服务器A.X-ForwardedB.X-Forwarded

  • 查看答案
  • Apache配置文件apache2.conf中,使用( )变量把访问者的IP地址传递给Web服务器

    [单选题]Apache配置文件apache2.conf中,使用( )变量把访问者的IP地址传递给Web服务器A.X-ForwardedB.X-Forwarded

  • 查看答案
  • 以RPM方式安装的Apache服务器,Apache的主配置文件是。( )

    [单选题]以RPM方式安装的Apache服务器,Apache的主配置文件是。( )A.index.htmlB.httD.confC.apachE.confD.s

  • 查看答案
  • 如果以Apache为WWW服务器,()是最重要的配置文件。

    [单选题]如果以Apache为WWW服务器,()是最重要的配置文件。A .access.confB .srm.congC .httpsD.confD .mimE.types

  • 查看答案
  •  某 Apache 服务器的配置文件 httpd.conf 包含如下所示配置项