Custom ERROR 401

zoom

Well-Known Member
#1
I've created a custom error 401 error page, however the odd thing is that I'm getting the error page instead of the typical user/pw prompt you get with you secure a directory with a realm. When I remove the custom error page reference for the vhost it seems to work fine, however I don't have a custom msg anymore for failed login.

Why do I see the custom error page first when I navigate to the page??

Thanks..
 

zoom

Well-Known Member
#3
In the case of a template what should I put my custom error pages? If I use a relative URL like /error401.html will the server serve up the page for domain x and domain y correctly?

Should I put something like $SERVER_ROOT/errors/error401.html???
 
Top