Implementing Single Sign On for Windows with Apache 2.4.x

Implementing Single Sign On for Windows with Apache 2.4.x

* Grab the apache module mod_authnz_sspi from SourceForge

Grab the apache module mod_authnz_sspi from https://www.apachehaus.net/modules/mod_authnz_sspi/.

Unzip the module, and add the files from the bin location to the apache bin folder, and the files from the module folder to the module folder (Apache folder will be something like C:\Programs\Apache\modules).

Make sure you download the right version for your apache install (x64 and x86).

Add the following lines to your Apache configuration file (httdp.conf) – add this at the end of the module configuration:
Load Module sspi_auth_module modules/mod_authnz_sspi.so

Also make sure to uncomment:
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_core_module modules/mod_authz_core.so

* Add a directory block


Options Indexes FollowSymLinks

AllowOverride None
#sspi_auth_module changes – start
Order allow,deny
Allow from all
AuthName “ForLogging”
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
SSPIOmitDomain Off
Require valid-user
#sspi_auth_module changes – end

This was successfully installed while using:

Windows Server 2012
MySQL 5.6.25
PHP 5.6.0
Apache HTTP Server 2.4.12

This entry was posted in apache, module, mysql, php, sspi, wiki, Windows and tagged , , , , , . Bookmark the permalink.