Difference between revisions of "ACP Apache Authentication"

Line 1: Line 1:
*<font color=blue>This is for installing ACP with Apache windows sspi authentication.</font> ''If you want to install ACP with the default firebase authentication ,  [[To install ACP|use the instructions on the main install page here]].''
+
*<font color=blue>This is for installing ACP with Apache authentication.</font> ''If you want to install ACP with the default firebase authentication ,  [[To install ACP|use the instructions on the main install page here]].''
  
==Add the Apache Windows sspi Authentication module==
+
==PHP==
 +
''Php is used to pass the user name to ACP via an environment variable.''
 +
*Install php 7.4 to c.\php
 +
*[https://windows.php.net/downloads/releases/php-7.4.27-Win32-vc15-x64.zip Download the PHP version from the official site]. Then extract the downloaded zip folder to <code>C:\php</code>.<br />
 +
 
 +
*In c:\php Rename <code>php-ini-development.ini</code> to <code>php.ini</code>.
 +
*Add the php directory to the path
 +
 
 +
*In the search box type <code>environment</code> and select edit the system environment variables
 +
*In system properties select Environment variables
 +
*Select <code>system variables>Path </code> and press <code>'''Edit'''</code>.
 +
*Select <code>'''New'''</code> and add <code>C:\php</code> then press <code>'''OK'''</code>. Then exit the system properties dialog.
 +
 
 +
*In a command prompt enter <code>php</code> - if you get an error you will probably need to reboot. php should start and you will get a blinking cursor. Press Control + C to get out of the php loop.
 +
 
 +
==Apache windows sspi authentication==
 +
===Add the Apache Windows sspi Authentication module===
 
*Download the module and unzip it to a folder.
 
*Download the module and unzip it to a folder.
 
https://www.apachehaus.net/modules/mod_authnz_sspi/mod_authnz_sspi-0.1.1a1-2.4.x-x64-vc15.zip
 
https://www.apachehaus.net/modules/mod_authnz_sspi/mod_authnz_sspi-0.1.1a1-2.4.x-x64-vc15.zip
  
 
*Note that this module is not from Apache. This most recent version is vc15 - this is an add on done by the community.  
 
*Note that this module is not from Apache. This most recent version is vc15 - this is an add on done by the community.  
The most recent Apache version is vs16 which was not supposed to work correctly with this module vc15. 
 
  
 
*From the downloaded folder: <code>Apache24\modules</code> copy  <code>mod_authnz_sspi.so</code> and save to the Apache modules directory.
 
*From the downloaded folder: <code>Apache24\modules</code> copy  <code>mod_authnz_sspi.so</code> and save to the Apache modules directory.
Line 16: Line 31:
 
<code>C:\Apache24\bin\sspipkgs.exe</code>
 
<code>C:\Apache24\bin\sspipkgs.exe</code>
  
==PHP==
 
 
*Install php 7.4 to c.\php
 
*[https://windows.php.net/downloads/releases/php-7.4.27-Win32-vc15-x64.zip Download the PHP version from the official site]. Then extract the downloaded zip folder to <code>C:\php</code>.<br />
 
 
*In c:\php Rename <code>php-ini-development.ini</code> to <code>php.ini</code>.
 
*Add the php directory to the path
 
 
*In the search box types<code>environment</code> and select edit the system environment variables
 
*In system properties select Environment variables
 
*Select <code>system variables>Path </code> and press <code>'''Edit'''</code>.
 
*Select <code>'''New'''</code> and add <code>C:\php</code> then press <code>'''OK'''</code>. Then exit the system properties dialog.
 
  
*In a command prompt enter <code>php</code> - if you get an error you will probably need to reboot. php should start and you will get a blinking cursor. Press Control + C to get out of the php loop.
 
  
 
==A ==
 
==A ==
 
==B==
 
==B==

Revision as of 07:14, 6 May 2022

PHP

Php is used to pass the user name to ACP via an environment variable.

  • In c:\php Rename php-ini-development.ini to php.ini.
  • Add the php directory to the path
  • In the search box type environment and select edit the system environment variables
  • In system properties select Environment variables
  • Select system variables>Path and press Edit.
  • Select New and add C:\php then press OK. Then exit the system properties dialog.
  • In a command prompt enter php - if you get an error you will probably need to reboot. php should start and you will get a blinking cursor. Press Control + C to get out of the php loop.

Apache windows sspi authentication

Add the Apache Windows sspi Authentication module

  • Download the module and unzip it to a folder.

https://www.apachehaus.net/modules/mod_authnz_sspi/mod_authnz_sspi-0.1.1a1-2.4.x-x64-vc15.zip

  • Note that this module is not from Apache. This most recent version is vc15 - this is an add on done by the community.
  • From the downloaded folder: Apache24\modules copy mod_authnz_sspi.so and save to the Apache modules directory.

C:\Apache24\modules\mod_authnz_sspi.so

  • Copy: Apache24\bin\sspipkgs.exe and save it in the Apache bin directory.

C:\Apache24\bin\sspipkgs.exe


A

B

Comments


Tarik TAOUCHE

19 months ago
Score 0

Hi there,

the link below seems to be broken or not functionnal. https://www....x64-vc15.zip

is there another link to it since we haven't find it anywhere ?

Thanks

Dpaine

3 months ago
Score 0
No link, it but apparently The sspi module is no longer available from official sources. It has been replaced by the NTLM module. We have not configured this module on our servers and cannot provide instructions at this time

You are not allowed to post comments.