题目详情

(2)网站安全策略要求网站的默认服务端口改成8081,远程计算机的IP地址为192.168.0.2,若要其可以访问网站服务器/www/admin资源。如何配置Apache相关文件以符合安全策略要求。

正确答案及解析

正确答案
解析

1.在httpd.conf文件中修改为:listen 80812.在access.conf中加入目录控制段。

1.httpd.conf文件中修改http服务器的端口为8081.配置的基本语法是:语法:Listen [IP-address:]portnumber [protocol]默认的配置:Listen 80 修改为:Listen 80812.为了保证web服务器/www/admin目录的访问权限,需要在access.conf中加一个类似下面的目录控制段。注意不要将document root的位置设置为这个目录。这样,对于/www/admin只允许192.168.0.2可以访问,其他地址的访问都被拒绝。

你可能感兴趣的试题

单选题

Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.

  • A.Artificial Intelligence
  • B.Cloud Computing
  • C.Internet of Things
  • D.Big Data
查看答案
单选题

In project human resource management , ( )is not a source of power for the project manager.

  • A.referent power
  • B.expert power
  • C.reward power
  • D.audit power
查看答案
单选题

At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.

  • A.detail feasibility analysis
  • B.opportunity analysis
  • C.economic feasibility analysis
  • D.risk analysis
查看答案
单选题

( )is a grid that shows the project resources assigned to each work package.

  • A.Stakeholder engagement assessment matrix
  • B.Requirements traceability matrix
  • C.Probability and impact matrix
  • D.Responsibility assignment matrix
查看答案
单选题

Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.

  • A.digital
  • B.networking
  • C.intelligentize
  • D.informatization
查看答案

相关题库更多 +