Customize 401 error page?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • myjaydee
    First Sergeant

    • Sep 2008
    • 71

    Customize 401 error page?

    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!
Working...
X