Hi I'm trying to create a customised 401 page to handle the problem when people try to get into a password protected directory without having the correct password.
Has anyone out there made one or can someone help me please?
I've adapted the .htaccess file in the protected directory in numerous ways but no matter what I do the request for user name and password keeps coming up when you try to cancel it or use the close button. It is only after hitting the cancel button 7 times that this request for details to be put in closes and then the customised page comes up without any of the pictures. What I do find strange is that the customised page's address is the same as if the user was on the page they were trying to reach.
I'm pulling my hair out now - going to be bald soon :) so hope someone can help me before I have to lay out for a wig.
Has anyone out there made one or can someone help me please?
I've adapted the .htaccess file in the protected directory in numerous ways but no matter what I do the request for user name and password keeps coming up when you try to cancel it or use the close button. It is only after hitting the cancel button 7 times that this request for details to be put in closes and then the customised page comes up without any of the pictures. What I do find strange is that the customised page's address is the same as if the user was on the page they were trying to reach.
I'm pulling my hair out now - going to be bald soon :) so hope someone can help me before I have to lay out for a wig.
Comment