nginx 目录密码保护问题
10714
- 05482010-12-24金牌会员1574
看了小夜这帖:
"
我想在nginx下也采用这种办法解决防盗链.
然后我参考这帖:http://www.hostloc.com/thread-3335-1-2.html
现在访问网站加密的目录需要输入密码了.但是输入密码后,反馈都是500错误...
nginx_error.log 里错误提示是:- 5130#0: *60 open() "/root/htpasswd" failed (13: Permission denied), client: 114.237.x.x, server: down.x.com, request: "GET /downloads/2010/xxxx.txt HTTP/1.1", host: "down.x.com"复制代码Google了半天,没找到解决办法,汗.谁搞过这个,帮帮忙.