It looks like Dreamhost have already done some ErrorDocument definitions in Apache for us. Nice and helpful, but unfortunately one of them is giving me grief.
401 pages seem to result in loading /failed_auth.html, which is making my life difficult with some mod_rewrite rules.
Is there any way to get rid of the definition via my main .htaccess file, and restore the default Apache behaviour?
I can override some other similar rules like this:
ErrorDocument 403 /misc/403.html
ErrorDocument 404 /misc/404.html
But I don’t want anything for ErrorDocument 401.