httpd.conf文件中“Alias/jianji"/home/zhang/jianji"”一行的含义是什么?

题目

httpd.conf文件中“Alias/jianji"/home/zhang/jianji"”一行的含义是什么?


相似考题
更多“httpd.conf文件中“Alias/jianji"/home/zhang/jianji"”一行的含义是什么? ”相关问题
  • 第1题:

    阅读以下说明,回答问题1~5,将答案填入对应的解答栏内。

    配置WWW服务器是Linux操作平台的重要工作之一,而Apach是目前应用最为广泛的Web服务器产品之一。在Linux下安装Apache Web服务,Apache服务程序http启动时需要读取配置文件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/html"

    UserDir public_html

    DirectoryIndex index.html

    Alias/Jianji"/home/zhang/jianji"

    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

    ErrorDocument 404/missing.html

    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

    ErrwrLog logs/host.some_domain.com-error_log

    CustomLog log/host.some_domain.com-access_log common

    </VirtuaHost>

    Apache web服务器有(1)和(2)两种运行方式,该服务器运行在(3)方式下。


    正确答案:(1)超级服务器(inetd)方式 (2)独立(standalone)方式 (3)独立(standalone)方式
    (1)超级服务器(inetd)方式 (2)独立(standalone)方式 (3)独立(standalone)方式 解析:Apache服务器有两种运行方式,一种是独立方式(standalone),这是Apache服务器缺省运行方式。在这种方式中,httpd服务器将由其本身启动,并驻留在主机中监视连接请求。另一种是inetd方式,它使用超级服务器inetd监视连接请求并启动服务器。服务器的运行方式是通过ServerType参数指定的,因此,本题中的服务器的运行方式是独立方式(standalone)。

  • 第2题:

    /var/named/named.hosts文件中阴影一行的含义是什么?


    正确答案:指明了该单位的邮件交换器是server1.xyz.edu.cn它负责处理邮件地址的主机部分为“@xyz.edu.cn”的邮件“10”表示优先级。
    指明了该单位的邮件交换器是server1.xyz.edu.cn,它负责处理邮件地址的主机部分为“@xyz.edu.cn”的邮件,“10”表示优先级。 解析:阴影的一行是一条邮件交换器(MX)记录,指定哪些主机负责接收该区域的电子邮件。此处作用是指明了该单位的邮件交换器是server1.xyz.edu.cn,它负责处理邮件地址的主机部分为“@xyz.edu.cn”的邮件,“10”表示优先级。

  • 第3题:

    下面这条命令实现的是什么功能? mv /home/sjh/111.txt /home/sjh/222.txt

    A.剪切文件111.txt

    B.复制文件111.txt

    C.删除文件111.txt

    D.将文件111.txt改名为222.txt


    将文件 111.txt改名为222.txt

  • 第4题:

    命令tar cvf /dev/rmt/c0t3d0 /home的作用是?()

    A.将磁带中的所有文件放入home目录中

    B.列出磁带上所有来自home目录的文件

    C.备份/home下的所有文件

    D.备份/home下的所有文件和目录


    参考答案:D

  • 第5题:

    下面这条命令实现的是什么功能? mv /home/sjh/a1.txt /home/sjh/a2.txt

    A.复制文件a1.txt

    B.删除文件a1.txt

    C.把文件a1.txt改名为a2.txt

    D.剪切文件a1.txt


    将文件 111.txt改名为222.txt