I created a 401 page, which is html, and within an accessible directory.
It displays in IE 6, Firefox, Safari, but not IE 7.
Here is the .htaccess file for setting the authentication on the directory and location for the 401 page.
KrbServiceName HTTP
KrbMethodNegotiate On
KrbMethodK5Passwd On
#KrbVerifyKDC on
KrbSaveCredentials off
KrbAuthRealms HCCC.CAMPUS
Krb5KeyTab /etc/httpd/keytab
KrbAuthoritative off
AuthType Kerberos
AuthName "Please Login"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPURL "ldap://domain:389/OU=Campus Users,DC=hccc,DC=campus?userPrincipalName?sub?(objectClass=*)"
AuthLDAPBindDN "CN=ldapuser,CN=Users,DC=hccc,DC=campus"
AuthLDAPBindPassword ldapsearch
require ldap-group CN=Students,CN=Users,DC=hccc,DC=campus
#require ldap-group CN=Faculty,CN=Users,DC=domain,DC=local
#Satisfy any
ErrorDocument 401 /all/401.html
When I go to the directory/page, it prompts me for a username/password, since my account is not within the Students group, it kicks me to the 401 page, which it does in Safari, IE6, Firefox, but IE7 it does not, it just shows the default page (screen shot here: http://i35.tinypic.com/2qbgmjs.png)
Any help is greatly appreciated.