View Full Version : Need a customised 401 page

06-15-2009, 07:47 PM
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.

Karen Mac
06-15-2009, 08:59 PM
It shouldnt be the same.. it should be a different page. They should get a login page or the error page, not the page they are trying to access.


06-15-2009, 10:11 PM
Probably the best way to describe the problem I'm having is to give you a link (http://http://www.luckysaver.co.uk/vouchers/fude_login.php) through.
Fingers crossed someone can help me with this...

Karen Mac
06-15-2009, 10:13 PM
ok.. all i see is that you have doubled your http in your link?


You need to delete one of them


06-17-2009, 09:28 AM
Hi Karen

Here's a proper link to the example page that I am having problems with.
[/URL][URL]http://www.luckysaver.co.uk/vouchers/fude_login.php (http://www.luckysaver.co.uk/vouchers/fude_login.php).

06-17-2009, 09:41 AM
I'm seeing the error page without images.
If this is the only issue (images missing) simply change the image to absolute URLs (they are published now, so simply provide the full URL in the BV image field)

06-17-2009, 02:34 PM
Thanks Navel for the info about the absolute url's. However, there is also the issue of having to hit the cancel button numerous times before you are able to access the page. Any ideas on that one?