Custom 401 page.

I am using custom error pages on my Virtualmin server but for some reason the 401 not authorized redirection refuses to work and I get the standard apache page instead.
I have checked the directives over and over and even restarted the server. The 404 redirect works perfectly. What could I be missing?


Can you post the directives from your apache configuration or .htaccess here?