I have a Intranet site that is using Kerberos Authentication. I am having issues when the user is not allowed access
In Firefox the ErrorDocument 401 set in .htaccess works but in IE/EDGE/CHROME you get a browser error (See Below)
This site can’t be reached
The web page at http://mysite/ might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE
Can’t reach this page
•Make sure the web address http://mysite/ is correct •Search for this site on Bing •Refresh the page
More information More information
The connection to the website was reset.
Error Code: INET_E_DOWNLOAD_FAILURE
AuthType Kerberos AuthName "Staff Intranet" KrbAuthRealms DOMAIN.LOCAL KrbServiceName HTTP Krb5Keytab /etc/kerberos.keytab KrbMethodNegotiate On KrbSaveCredentials On KrbMethodK5Passwd On KrbAuthoritative off KrbVerifyKDC off KrbLocalUserMapping On AuthLDAPURL "ldap://DOMAINCONTROLLER/DC=DOMAIN,DC=local?sAMAccountName" AuthLDAPBindDN "CN=IntranetSites,OU=Non-staff,OU=Users,DC=DOMAIN,DC=local" AuthLDAPBindPassword "PASSWORD" Require ldap-user user1 Require ldap-user user2 ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=/index.php?App=Intranet&Access=Denied\"></html>"
i get the same error logged no matter what browser i use.
[Sun Aug 06 23:41:39.848945 2017] [authz_core:error] [pid 6471] [client 192.168.31.250:64258] AH01631: user user3 : authorization failure for "/protectedfolder/": , referer: http://mysite/
I have also turned off Friendly Error Pages in Internet Explorer and still get the same error.
Thanks in Advance for you Help