Apache authentication: Redirect on failure, reliably?

Posted by bukzor on Stack Overflow See other posts from Stack Overflow or by bukzor
Published on 2009-11-13T03:01:04Z Indexed on 2010/05/04 17:18 UTC
Read the original article Hit count: 239

I've set my ErrorDocument 401 to point to my website's account creation page, but not all browsers seem to honor this redirect (Safari).

Also, other browsers (Firefox, Chrome) never quit asking for the password and show the ErrorDocument. This causes a good number of users to give up trying after many password attempts without seeing the account creation page.

Is there any way to make the redirect more reliable, without trashing basic authentication altogether?

© Stack Overflow or respective owner

Related posts about apache

Related posts about basic-authentication