Last active
August 29, 2015 13:56
-
-
Save rogeriopradoj/9004819 to your computer and use it in GitHub Desktop.
test module mod_auth_sspi or mod_authnz_sspi.so in Apache 2.2 or 2.4 on Windows host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_authnz_sspi.c> | |
AuthType SSPI | |
SSPIAuth On | |
SSPIAuthoritative On | |
SSPIOfferBasic Off | |
Require valid-user | |
</ifModule> | |
<IfModule mod_auth_sspi.c> | |
AuthType SSPI | |
SSPIAuth On | |
SSPIOfferBasic Off | |
SSPIAuthoritative On | |
require valid-user | |
</ifModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Módulo NTLM | |
# informações da página do Moodle - http://docs.moodle.org/en/NTLM_authentication | |
# e do mod-auth-sspi - http://sourceforge.net/projects/mod-auth-sspi/files/ | |
LoadModule sspi_auth_module modules/mod_auth_sspi.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Módulo NTLM para Apache 2.4 | |
# informações da página do mod-auth-sspi - http://sourceforge.net/projects/mod-auth-sspi/forums/forum/550583/topic/4868892 | |
# e do apachehaus - https://www.apachehaus.net/modules/mod_authnz_sspi/ | |
LoadModule authnz_sspi_module modules/mod_authnz_sspi.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(-1); | |
ini_set('display_errors', '1'); | |
ini_set('default_charset', 'utf-8'); | |
date_default_timezone_set('America/Sao_Paulo'); | |
var_dump($_SERVER); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment