access denied ist auch nicht 404 sondern 500 ;)
deswegen einfach in die .htaccess
ErrorDocument 500 http://host.tld/error.htm
und an welcher stelle in der htaccess datei??
ganz oben, ganz unten, oder ist das egal???
trotz aller vorschlaege kommt diese fehlermeldung nach einem fakschen login
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Apache/2.0.44 (Unix) Server at 80