一.编辑httpd.conf加入Alias /admin/ "/home/kurt/www/admin"#设置虚拟目录picture到根目录 Options Indexes MultiViewsAllowOverride AuthConfigOrder Deny,AllowAllow from allOptions AllAllowOverride All 二.在E:/picture/下创建.htaccess文件authtype basicauthname "authname"authuserfile /home/kurt/www/admin/.htpasswdrequire valid-user三.在/home/kurt/www/admin/下创建密...
[ 查看全文 ]