阅读以下说明,回答问题1~5,将答案填入答题纸对应的解答栏内。配置WWW服务器是Linux操作平台的重要工作之一,而Apach是目前应用最为广泛的Web服务器产品之一。在Linux下安装Apachc Web服务,Apache服务程序httod启动时需要读取配置文件httpd.conf,以下是一个hupd.conf配置文件的片断:httpd.conf--Apache HTTP server configuration fileSection 1:Global EnvironmentServerType standaloneServerRoot"/etc/httpd"Timeout 300KeepAl ive OnMaxKeepAliveRequests 100KeepAliveTimeout 15MaxClient 150Section 2: 'Main'server configurationPort 80User apacheGroup apacheServerAdmin webmaster@abc.com.cnServerName www.abc.com.cnDocumentRoot"/var/www/html"UserDir public_htmlDirectpryIndex index.htmlAlias /jianji"/home/zhang/jianji"ScriptAlias/cgi-bin/"/var/www/cgi-bin/"ErrorDocument 404/missing.htmlSection 3:Virtual HostSNameVirtualHost 192.168.10.101<VirtualHost 192.168.10.101>ServerAdmin webmaster@abc.com.cnDocumentRoot/www/htdocs/abcServerName markert.abc.com.cnErrorLog logs/host.some_domain.com-error_logCustomLog logs/host.some_domain.com_access log common</VirtualHost>Apache Web服务器有哪两种运行方式?该服务器运行在什么方式下?
阅读以下说明,回答问题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服务器有哪两种运行方式?该服务器运行在什么方式下?