HI there,
I am trying to create a .htpasswd structure.
In my htaccess I have
When i log in with the right password, i can hit the member area correctly.
However, when I enter a wrong password, instead of prompting me again, it goes to a page cannot be displayed.
My other sites prompts me 3 times if a worng passowrd is entered and then the "Authorization Required" so I am kind of lost what I am doing wrong here.
Any input is much appreciated!
I am trying to create a .htpasswd structure.
In my htaccess I have
Code:
AuthName "Members Only"
AuthType Basic
AuthUserFile /[URL unfurl="true"]www/www.site.com/.htpasswd[/URL]
AuthGroupFile /dev/null
ErrorDocument 404 /error.html
ErrorDocument 403 /error.html
ErrorDocument 401 /error.html
Options -Indexes
require valid-user
When i log in with the right password, i can hit the member area correctly.
However, when I enter a wrong password, instead of prompting me again, it goes to a page cannot be displayed.
My other sites prompts me 3 times if a worng passowrd is entered and then the "Authorization Required" so I am kind of lost what I am doing wrong here.
Any input is much appreciated!