I've managed to create a customized 404 page which works brilliantly quite a long time ago.
However, I've discovered that I also need a customized 401 error page for protected directory. I've tried virtually everything I can to make this page work.
My latest .htaccess coding is:
ErrorDocument 401 http://www. luckysaver.co.uk /vouchers/wrong_password.php
ErrorDocument 404 http://www. luckysaver.co.uk /not_here.php
AddHandler application/x-httpd-php5 .php .htm .html
I'm using CPanel to make changes. I know I've put a space after www. here but there isn't one in the real file.
Help please!
However, I've discovered that I also need a customized 401 error page for protected directory. I've tried virtually everything I can to make this page work.
My latest .htaccess coding is:
ErrorDocument 401 http://www. luckysaver.co.uk /vouchers/wrong_password.php
ErrorDocument 404 http://www. luckysaver.co.uk /not_here.php
AddHandler application/x-httpd-php5 .php .htm .html
I'm using CPanel to make changes. I know I've put a space after www. here but there isn't one in the real file.
Help please!