• 2022-06-06
    在Apache中,专门用来定义文件处理程序的配置文件是什么?
    A: httpd.conf
    B: mime.types
    C: cgi.conf
    D: apache2.conf
  • B

    内容

    • 0

      使用rpm软件包安装的Apache服务器,其httpd.conf文件位于()目录下. A: /etc/httpd B: /etc/conf C: /etc/httpd/conf D: /etc/conf/httpd

    • 1

      将apache配置文件中的端口号直接修改为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

    • 2

      Apache服务的配置文件是? A: /var/www/html B: /etc/httpd/conf/httpd.conf C: /etc/httpd D: /etc/httpd/httpd.conf

    • 3

      Apache服务的主配置文件位于( ) A: /var/httpd/conf B: /etc/httpd/ C: /var/httpd/ D: /etc/httpd/conf

    • 4

      apache的主配置文件存放在( )文件夹中 A: /etc/httpd B: /etc/httpd/conf C: /etc/httpd/conf/httpd D: /etc/www