Linux服务配置步骤详解题库.pptVIP

  • 3
  • 0
  • 约1.27万字
  • 约 37页
  • 2017-07-21 发布于湖北
  • 举报
7、编辑文件/etc/httpd/conf/httpd.conf,配置用户验证。 (3)针对添加如下区域配置段。 Directory “/var/www/ftp” //和添加相似内容 Allowoverride None Order deny,allow //设定用户访问控制 AuthType Basic AuthName “ Please input username and password” AuthUserFile /etc/httpd/userpasswd-ftp //指定用户密码验证的文件 Require valid-user Satisfy all /Directory 8、重启httpd服务。 service httpd restart Client Server-Apache Server-DNS 解析域名 对应地址 查询结果 登录 Index.html userpasswd 验证 结果 DNS+Apache 客户端请求数据流 1 2 3 4 5 6 7 8 页面 说明:可进行访问控制 Order allow,deny Allow from

文档评论(0)

1亿VIP精品文档

相关文档