摘要:
1.建立密码文件:# htpasswd -c /usr/local/apache2/conf/htpasswd.users adminNew password: 123456Re-type new password: 123456#接下按提示来输入密码 我这里例如可以是 123456#上边就建立了用户名和密码用户名:admin密 码:1234562.在修改配置文件在虚拟主机中加入:<VirtualHost *:80> Options -Indexes FollowSymLinks ServerAdmin xxx@126.com DocumentRoot "/var/www 阅读全文
posted @ 2012-01-16 15:17
令狐葱★
阅读(2080)
评论(0)
推荐(0)

浙公网安备 33010602011771号