题目内容

若要设置Web站点根目录的位置,应在配置文件中通过( )配置语句来实现。

A. ServerRoot
B. ServerName
C. DocumentRoot
DirectoryIndex

查看答案
更多问题

若要设置网站的默认主页,应在配置文件中通过( )配置语句来实现。

A. RootIndex
B. ErrorDocument
C. DocumentRoot
DirectoryIndex

Listen配置用于设置Apache服务器的监听端口,Apache服务的默认监听端口为( )。

A. 21
B. 25
C. 80
D. 110

Apache服务器的主配置文件是( )。

A. /etc/apache/apached.conf
B. /etc/web/webd.conf
C. /etc/httpd/httpd.conf
D. /etc/httpd/conf/httpd.conf

Apache服务器中,默认放置个人主页的目录是( )。

A. /home/public_html
B. /home/*/public_html
C. /home/web
D. /home/*/web

答案查题题库