Difference between revisions of "ACP Apache Authentication"
Line 1: | Line 1: | ||
− | *<font color=blue>This is for installing ACP with Apache | + | *<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. | ||
− | |||
*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> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==A == | ==A == | ||
==B== | ==B== |
Revision as of 07:14, 6 May 2022
- This is for installing ACP with Apache authentication. If you want to install ACP with the default firebase authentication , use the instructions on the main install page here.
PHP
Php is used to pass the user name to ACP via an environment variable.
- Install php 7.4 to c.\php
- Download the PHP version from the official site. Then extract the downloaded zip folder to
C:\php
.
- In c:\php Rename
php-ini-development.ini
tophp.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 pressEdit
. - Select
New
and addC:\php
then pressOK
. 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
copymod_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
Enable comment auto-refresher
Tarik TAOUCHE
Dpaine