LAMP_为某个虚拟主机配置用户认证

 vi/usr/local/apache2/conf/extra/httpd-vhosts.conf <Directory *>            AllowOverride AuthConfig            AuthName "自定义的"            AuthType Basic            AuthUserFile /data/.htpasswd       
相关文章
相关标签/搜索