AuthType 配置认证类型Basic(基本认证),Digest(摘要) AuthName 在认证提示框中出现的内容 AuthUserFile 口令文件的路径 实例: AuthName "yyszx" AuthType Basic AuthUserfile /etc/httpd/password Require user tom #允许tom用户访问 user和group任选其一 Require group sales #允许sales组成员访问 user和group任选其一 添加用户: htpasswd /etc/httpd/password tom |
|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )
GMT+8, 2024-9-29 13:19 , Processed in 0.215199 second(s), 12 queries , Gzip On, MemCache On.
Powered by Discuz! X3.5
© 2001-2023 Discuz! Team.