AuthUserFile /path/to/users
AuthName "This is protected area"
AuthGroupFile /dev/null
AuthType Basic
Require valid-user
#ErrorDocument 401 /register.html
ErrorDocument 401 "< html>< meta http-equiv=\"refresh\" content=\"0;url=/register.html\">"
No comments:
Post a Comment