更多"配置WWW服务器是Linux操作平台的重要工作之一,而Apach是目前"的相关试题:
[填空题]配置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
[单项选择]配置WWW服务器是Linux操作平台的重要工作之一,而Apache是目前应用最为广泛的Web服务器产品之一, (48) 是Apache的主要配置文件。如果允许以“http://www.xxx.edu.cn/-usemame”方式访问用户的个人主页,必须通过 (49) 指令设置个人主页文档所在的目录。
A. httpd.conf
B. srm.conf
C. access.conf
D. apache.conf
[单项选择]
配置WWW服务器是UNIX操作平台的重要工作之一,而Apach是目前应用最为广泛的Web服务器产品之一, (1) 是Apache的主要配置文件。
URL根目录与服务器本地目录之间的映射关系是通过指令 (2) 设定;指令Server- Admin的作用是 (3) :而设置index.html或default.html为目录下默认文档的指令是 (4) ;如果允许以"http://www.xxx.edu.cn/~username"方式访问用户的个人主页,必须通过 (5) 指令设置个人主页文档所在的目录。
5()
A. VirtualHost
B. VirtualDiretory
C. UserHome
D. Userdir