欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

apache httpd 验证用户密码登录 auth basic 认证 自己亲自做的 有大用 有大大用

<Directory /home/wwwroot/wangruo_kfqd_cn>

    Options FollowSymLinks

    AllowOverride All

    AuthType Basic

    AuthName "valid user"

    AuthUserFile /www/wdlinux/httpd-2.2.22/conf/.htpasswd_wangruoban

    Require valid-user

    Order allow,deny

    Allow from all

</Directory>


普通分类: