Enable autenthication only in IE

Help
James
2012-10-25
2013-05-01
  • James
    James
    2012-10-25

    Hi,

    I want to enable authentication only in IE. So I've tryed to put this in http.conf or htacces :

           RewriteEngine On
           Options +FollowSymLinks
           RewriteCond %{HTTP_USER_AGENT} ^.*MSIE.*$
           XXXXXXX

    Where XXXXXXX should be :

           AuthName "A Protected Place"
           AuthType SSPI
           SSPIAuth On
           SSPIAuthoritative On
           SSPIPerRequestAuth Off
           require valid-user

    I don't know the exact sintax of Apache conf files…. How can I do this?

    Thanks!