Use
htpasswd -cb filename username password
to create your hashed password fileput
<directory "some directory tree to protect">
AllowOverride None
Options None
AuthType Basic
AuthUserFile "path to password file
AuthName "message for users"
require valid-user
Order deny, allow
</directory>
No comments:
Post a Comment