阅读以下说明,回答问题1~问题5,将解答填入对应的答案栏内。 【说明】 在Linux下安装、配置Apache服务,Apache服务程序h仕pd启动时需要读取配置文件httpd.conf。以下是httpd.conf配置文件的一个片段:

admin2018-07-27  30

问题 阅读以下说明,回答问题1~问题5,将解答填入对应的答案栏内。
    【说明】
    在Linux下安装、配置Apache服务,Apache服务程序h仕pd启动时需要读取配置文件httpd.conf。以下是httpd.conf配置文件的一个片段:
    ## httpd.conf -- Apache HTTP server configuration file
    ### Section 1:Global Environment
    ServerType standalone
    ServerRoot "/etc/httpd"
    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 15
    MaxClients 150
    ###Section 2:’Main’ server configuration
    Port 80
    User apache
    Group apache
    ServerAdmin webmaster@abc.com.cn
    ServerName www.abc.com.cn
    DocumentRoot  "/var/www/htm1"。
    UserDir public_htm1
    DirectoryIndex index.htm1
    Alias/jianji "/home/zhang/jianji"
    ScriptAlias/cgi-bin/"/var/www/cgi-bin/"
    ErrorDocument 404/missing.htm1  
    ### Section 3:Virtual Hosts
    NameVirtualHost 192.168.10.101
    (VirtUalHost 192.168.10.101>
    SerVerAdmin webmaster@abc.com.cn
    DocumentRoot/www/htdocs/abc
    ServerName markert.abc.com.cn
    ErrorLog logs/host.some_domain.eom-errot_log
    customLog logs/host.some_domain.com_aceess_log common</VirtualHost>
当用户在浏览器中输入http://192.168.10.100/zhang/时,将访问什么内容?

选项

答案访问该服务器中用户zhang的主目录下public_htm1子目录的索引文件index.htm1,若该文件不存在就会出错。

解析
转载请注明原文地址:https://kaotiyun.com/show/b9tZ777K
0

相关试题推荐
最新回复(0)