diff -urN smeserver-phpldapadmin-1.6.0.old/createlinks smeserver-phpldapadmin-1.6.0/createlinks --- smeserver-phpldapadmin-1.6.0.old/createlinks 2014-06-21 17:53:47.000000000 +0100 +++ smeserver-phpldapadmin-1.6.0/createlinks 2021-10-04 11:41:33.775047125 +0100 @@ -9,8 +9,11 @@ bootstrap-console-save post-upgrade console-save + smeserver-phpldapadmin-update )) { - templates2events("/etc/phpldapadmin/config.php", $event) + templates2events("/etc/phpldapadmin/config.php", $event); + templates2events("/etc/httpd/conf/httpd.conf", $event); + } safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpldapadmin/config.php/template-begin"); diff -urN smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin --- smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2014-06-21 17:53:47.000000000 +0100 +++ smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2021-10-04 12:47:51.670451035 +0100 @@ -22,7 +22,19 @@ require user admin Satisfy all AddType application/x-httpd-php .php .php3 - php_flag magic_quotes_gpc on - php_flag track_vars on + + { + # we do not want people to mess with this for the moment + my $version = '74'; + $OUT .= qq( + + SetHandler "proxy:unix:/var/run/php-fpm/php$version.sock|fcgi://localhost" + + ) + + } + + #php_flag magic_quotes_gpc on + #php_flag track_vars on