Hi all,
i`m struggeling to protect some directories by using ActiveDirectory Accounts. When i setup everything with the "normal" Apache ( SMB,WINBINDD), it is working fine.
But when i try to use the same config files (default.directories) and include them on the LAMPP Apache system, it says "Invalid Command 'AuthPAM_enabled' and the LAMPP Apache failes to start. I installed the mod_auth_pam for the normal Apache (same version as the one in LAMPP and linked the mod_auth_pam.so to the correct LAMPP modules directory but without any positive result. Any Ideas ?
config snip of httpd-directories.default which is included in httpd.conf -->
<Directory /opt/lampp/htdocs/MyDirectory>
AllowOverride None
Order Allow,Deny
AuthType Basic
AuthName "My restricted Page"
Require Group "My ActiveDirectoryGroupName"
AuthPAM_Enabled on
AuthPAM_FallThrough off
SSLCipherSuite -all:SSLv2:+HIGH
</Directory>