Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2007
Web Server Directory Authentication
I have configured my RHEL 5.3 Linux server integrated with MS AD. Every work fine and the user will managed to authenticate with their own window ID.
But how can i set the apache to be authenticate the user if available, if fail to authenticate then redirect to normal site without prompt user to enter ID and password.
<VirtualHost 10.8.2.239> <Directory "/var/www/html/intranet"> AuthType Kerberos KrbAuthRealms domain.com KrbServiceName HTTP/abc.domain.com Krb5Keytab /etc/httpd/conf/apache.keytab KrbMethodNegotiate on KrbMethodK5Passwd On KrbAuthoritative Off Order Allow,Deny Require valid-user Allow from all # Allow from localhost # Require valid-user Satisfy any </Directory> DocumentRoot /var/www/html/intranet ServerAdmin firstname.lastname@example.org ServerName abc.domain.com DirectoryIndex index.html index.php index.htm index.shtml TransferLog /var/log/httpd/intranet_access_log ErrorLog /var/log/httpd/intranet_error_log </VirtualHost>