首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
阅读以下说明,回答问题1~5,将答案填入对应的解答栏内。 配置WWW服务器是Linux操作平台的重要工作之一,而Apach是目前应用最为广泛的Web服务器产品之一。在Linux下安装Apache Web服务,Apache服务程序http启动时需要读取
阅读以下说明,回答问题1~5,将答案填入对应的解答栏内。 配置WWW服务器是Linux操作平台的重要工作之一,而Apach是目前应用最为广泛的Web服务器产品之一。在Linux下安装Apache Web服务,Apache服务程序http启动时需要读取
admin
2010-12-20
19
问题
阅读以下说明,回答问题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>
假设主机的IP地址是192.168.10.100,当用户在浏览器中输入http://192.168.10.100时显示了主页,那么该主页的文件名是_____。
选项
答案
index.html
解析
该问题主要是考查索引文件(默认文档)的设置。很多情况下,URL中并没有指定文档的名字,而只是给出了一个目录名,那么Apache服务器就自动返回这个目录下由DirectoryIndex定义的文件,当然可以指定多个文件名字,系统会按顺序搜索。当所有由DirectoryIndex指定的文件都不存在时,Apache服务器可以根据系统设置,生成这个目录下的所有文件列表,提供用户选择。此时该目录的访问控制选项中的Indexes选项(Options Indexes)必须打开,使得服务器能够生成目录列表,否则Apache将拒绝访问。本题中DirectoryIndex只定义了index.html,因些我们看到主页文件名为index.html。
转载请注明原文地址:https://jikaoti.com/ti/wzB7FFFM
本试题收录于:
网络工程师下午应用技术考试题库软考中级分类
0
网络工程师下午应用技术考试
软考中级
相关试题推荐
项目经理对某软件需求分析活动历时估算的结果是:该活动用时2周(假定每周工作时间是5天)。随后对其进行后备分析,确定的增加时间是2天。以卜针对该项目后备分析结果的叙述中,______是不正确的。
以下关于J2EE应用服务器运行环境的叙述中,______是正确的。
我国颁布的《大楼通信综合布线系统YD/T926》标准的适用范围是跨度距离不超过______米,办公总面积不超过1000平方米的布线区域。
OSIisatheoreticalmodelthatshowshowanytwodifferentsystemscancommunicatewitheachother.Router,asanetworkingdev
甲公司最近中标某市应急指挥系统建设,为保证项目质量,项目经理在明确系统功能和性能的过程中,以本省应急指挥系统为标杆,定期将该项目的功能和性能与之比较。这种方法属于______。
甲公司承担了某市政府门户网站建设项目,与该市信息中心签订了合同。在设计页面的过程中,经过多轮讨论和修改,页面在两周前终于得到了信息中心的认可,项目进入开发实施阶段。然而,信息中心本周提出,分管市领导看到页面设计后不是很满意,要求重新设计页面。但是,如果重新
______不是系统集成项目的直接成本。
在制定人力资源计划时,不适合采用的工具或技术是______。
信息安全策略应该全面地保护信息系统整体的安全,网络安全体系设计是网络逻辑设计工作的重要内容之一,可从物理线路安全、网络安全、系统安全、应用安全等方面来进行安全体系的设计与规划。其中,数据库的容灾属于(25)的内容。
下列有关配置审计的描述,()说法是不恰当的。
随机试题
消费者均衡是()
某工程双代号网络计划如图3所示,其关键工作有()。
注册会计师对直接和严重影响会计报表的违反法规行为,应当在编制和实施审计计划时予以充分关注,以合理确信能发现此类违反法规行为。( ).
商架仓库又称立体仓库或机械仓库,仓库由货架、存取设备、输入输出系统四个基本部分纲成,从收货入库到出库装运全部实现自动化。
初次与某人交往,当得知他是一名大学教授时,马上断定他很有学问、有修养、性情温和、待人民主。从心理学的观点看,这种现象属于()。
简述幼儿园睡眠活动前的准备工作。
MS_SQLServer数据库系统的核心是
Whatisthedaughter’sattitudetowardsgoingtouniversity?
Thefactthatthemanagementistryingtoreachanagreement______fiveseparateunionshasledtolongnegotiations.
"Blink"TechnologyA)Tiredofallthattime-consumingswiping?Creditcardsusing"contactless"technologyallowuserstop
最新回复
(
0
)