主观题:h0176.Apache 服务器的配置文件httpd.conf 中有很多内容,请解释如下配置项:
Apache 服务器的配置文件httpd.conf 中有很多内容,请解释如下配置项:
(1)MaxKeepAliveRequests 200 (2)UserDir public_html
(3)DefaultType text/plain (4)AddLanguare en.en
(5)DocumentRoot―/usr/local/httpd/htdocs‖
(6)AddType application/x-httpd-PHP.php.php.php4
答案:(1)允许每次连接的最大请求数目,此为200;(2)设定用户放置网页的目录;
(3)设置服务器对于不认识的文件类型的预设格式;
(4)设置可传送语言的文件给浏览器;(5)该目录为Apache 放置网页的地方;
(6)服务器选择使用php4。
(1)MaxKeepAliveRequests 200 (2)UserDir public_html
(3)DefaultType text/plain (4)AddLanguare en.en
(5)DocumentRoot―/usr/local/httpd/htdocs‖
(6)AddType application/x-httpd-PHP.php.php.php4
答案:(1)允许每次连接的最大请求数目,此为200;(2)设定用户放置网页的目录;
(3)设置服务器对于不认识的文件类型的预设格式;
(4)设置可传送语言的文件给浏览器;(5)该目录为Apache 放置网页的地方;
(6)服务器选择使用php4。