- May 31, 2001
- 10,027
- 1
- 81
I've done pass protecting a directory in apache before....ie....
AuthUserFile /z/ric/secret/.htpasswd
AuthGroupFile /dev/null
AuthName "Ric's protected files"
AuthType Basic
<Limit GET>
require valid-user
</Limit>
But this time, I'd like to pass protect a file....(but not the directory), has anyone ever done this before?
If so, how would you go about it?
AuthUserFile /z/ric/secret/.htpasswd
AuthGroupFile /dev/null
AuthName "Ric's protected files"
AuthType Basic
<Limit GET>
require valid-user
</Limit>
But this time, I'd like to pass protect a file....(but not the directory), has anyone ever done this before?
If so, how would you go about it?