2168575 发表于 2018-11-20 10:19:13

apache虚拟主机用户验证

  vim httpd-vhosts.conf
  
  DocumentRoot "/data/www"
  ServerName www.123.com
  
  AllowOverride AuthConfig
  AuthName "?"
  AuthType Basic
  AuthUserFile /data/.htpasswd
  require valid-user
  
  

页: [1]
查看完整版本: apache虚拟主机用户验证