單項(xiàng)選擇題以下是apache的主配置文件是()

A.httpd.conf
B.http.conf
C.sshd.conf
D.http_d.conf


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題要開啟apache的基于域名的虛擬主機(jī)功能,要用到的配置項(xiàng)為()

A.NameVirtualHost*:80
B.ServerTokens OS
C.PidFile run/httpd.pid
D.ServerRoot“/etc/httpd”

3.單項(xiàng)選擇題使用sed將apache配置文件中的端口號(hào)直接修改為8080,以下正確的是()

A.grep’s/listen.*/listen8080/’/etc/httpd/conf/httpd.conf
B.sed-i’s/listen.*/listen8080/’/etc/httpd/conf/httpd.conf
C.sed’/listen.*/d’/etc/httpd/conf/httpd.conf
D.sed-n’/listen.*/p’/etc/httpd/conf/httpd.conf