Apache Web 服务器的配置文件一般位于/usr/local/apache/conf目录,其中用来控制用户访问Apache
A.httpd.conf
B.srm.conf
C.inetd.conf
D.access.conf
A.httpd.conf
B.srm.conf
C.inetd.conf
D.access.conf
Apache目前是UNIX/Linux操作平台上应用最为广泛的Web服务器产品,()是Apache的主要配置文件。
A.httpd.con
B.srm.conf
C.access.conf
D.apache.conf
A.http.conf
B.access.conf
C.srm.conf
D.mime.type
A.httpD.con----->主配置文件
B. srm.conf------>填加资源文件
C.access.conf--->设置文件的访问权限
D. version.conf--->版本信息文件
[问题4](4分)
Apache的主配置文件中有一行:Listen 192.168.1.126:80,其含义是(10) 。
启动Web服务后,仅销售部的主机可以访问Web服务。在Linux服务器中应如何配置,方能使研发部的主机也可以访问Web服务。
A.httpd.conf
B.srm.conf
C.access.conf
D.apache.conf
mod_ssl模块是Apache Web服务器的一个安全模块,它的配置文件是(13)。要载入这个文件而使mod_ss1进程能够工作,必须在/etc/httpd/conf/httpd.conf文件中包括include conf.d/*.conf这条声明。
阅读以下说明,回答问题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)方式下。
请在(5)~(11)空白处填写恰当的内容。
Apache的主配置文件为httpd.conf。某Web服务器的httpd.conf文件部分内容如下:
ServerType Standalone
ServerROOt "/etc/httpd"
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 20
StartServers 8
MaxClients 150
MaxRequestsPerChild 100
Port 8080
User nobody
Group nobody
ServerAdmin root@webtest.com.cn
ServerName WebTest
DocumentRoot "/home/webtest/jakarta- tomcat/webapps/webtest"
Options FollowsymLinks
AllowOverride None
Options Indexes Includes FollowSymLinks
AllowOverride None
Order allow, deny
Allow from all
DirectoryIndex index.html index.htm index.shtm1 index.cgi
Alias /doc/ /usr/doc/
Order deny, allow
deny from all
allow from localhost
Options Indexes FollowSymLinks
以RPM方式安装的Apache服务器,配置文件httpd.conf存储在Linux的(5)目录下。根据上述配置文件,该Web服务器运行在(6)模式下,其运行效率比在inetd模式下(7);当某个Web连接超过(8)秒没有数据传输时,系统断开连接。
如果客户需要访问Linux服务器上/usr/doc目录,则应在浏览器地址栏中输入(9)。
虚拟主机是指在同一台服务器上实现多个Web站点。虚拟主机可以是基于IP地址的虚拟主机,也可以是基于(10)的虚拟主机。创建基于(10)的虚拟主机时,还需要配置(11),并在区数据库文件中添加相关记录。
阅读以下说明,回答问题1~5,将答案填入答题纸对应的解答栏内。
配置WWW服务器是Linux操作平台的重要工作之一,而Apach是目前应用最为广泛的Web服务器产品之一。在Linux下安装Apachc Web服务,Apache服务程序httod启动时需要读取配置文件httpd.conf,以下是一个hupd.conf配置文件的片断:
httpd.conf--Apache HTTP server configuration file
Section 1:Global Environment
ServerType standalone
ServerRoot"/etc/httpd"
Timeout 300
KeepAl ive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxClient 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
DirectpryIndex 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
ErrorLog logs/host.some_domain.com-error_log
CustomLog logs/host.some_domain.com_access log common
</VirtualHost>
Apache Web服务器有哪两种运行方式?该服务器运行在什么方式下?
配置WWW服务器是UNIX操作平台的重要工作之一,而Apache目前是应用最为广泛的Web服务器产品之一,(1)是Apache的主要配置文件。URL根目录与服务器本地目录之间的映射关系是通过指令(2)设定的;指令 Server Admin的作用是(3);而设置index.html或default.html为目录下默认文档的指令是(4);如果允许以“http://www.xxx.edu.cn/~username”方式访问用户的个人主页,必须通过(5)指令设置个人主页文档所在的目录。
A.httpd.com
B.srm.conf
C.access.conf
D.apache.conf
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!