Forum Moderators: phranque
I have a small issue with the access denial message that is presented to a user that fails to enter the correct credentials to a .htaccess protected directory. Is there a way to override the page the user is directed to after the failure via .htaccess? Since they are not presented with a 404 per se, I'm at a bit of a loss.
You're right that it's not a 404. I think it's a 401.
So instead of setting a handler for 404s, you want one for 401s.
<aside>I'm sure someone around here posted a link to a nicely hyperlinked HTML version of the HTTP/1.1 spec a while ago, but I can't seem to find anything but a reference to the above text file at w3.org. Anyone know where to find that HTML version?</aside>