05-29-2012, 12:30 AM
Join Date: May 2012
|Hi and thank you for your link.
I did some testings and was able to get it to work.
I noticed that whenever I use http://www.... it automatically redirects to a URL e does not allow the error to manifest.
So, if I would type
when trying to access this website with restricted access, rather than popping up the validation Username and Password it goes automatically to the link.
ErrorDocument 401 http://www.google.it
The info in the docs you provided me with instead states that I can use something like in their example (ErrorDocument 500 http://foo.example.com/cgi-bin/tester) but why such behavior rather than prompting me for user credentials?
Those ErrorDocumnt statements should be all the way at the top of the file .htaccess or can they be anywhere?
Also, do you know if .htaccess is a file that robots, spiders, web crawlers can read or access? This question is for security purpose.
One last question: Is there a way to limit the amount of times a use can re-try to input Username and Password (when the credentials is wrong) beofre the system does not allow it again and if it insists it will block it for a while?