- Jan 2, 2006
- 10,455
- 35
- 91
For simplicity's sake I've put both my .htaccess and .htpasswd files in the same folder:
/downloads
.htaccess file
.htpasswd file
When I browse to /downloads I get the username/pass popup, I enter my user/pass, but it keeps popping up and finally I banned my own IP from accessing my own website.
/downloads
.htaccess file
AuthUserFile /downloads/.htpasswd
AuthGroupFile /dev/null
AuthName "Secure Document"
AuthType Basic
<LIMIT GET PUT POST>
require user fuzzy
</LIMIT>
.htpasswd file
fuzzy:whateverthehellapachegeneratorgivesme
When I browse to /downloads I get the username/pass popup, I enter my user/pass, but it keeps popping up and finally I banned my own IP from accessing my own website.