diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2020-03-24 22:47:45.360000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2020-03-24 22:52:37.899000000 -0400 @@ -18,6 +18,7 @@ ($version) = $version =~ /([0-9]{2})/ unless $version eq ''; my $name = lc $key; $OUT .=<<"_EOF"; + SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1 SetHandler "proxy:unix:/var/run/php-fpm/php$version-$name.sock|fcgi://localhost" diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/40DataHandling smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/40DataHandling --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/40DataHandling 2020-03-24 22:47:45.397000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/40DataHandling 2020-03-24 23:03:00.496000000 -0400 @@ -6,7 +6,11 @@ my $ms = $phpcur->prop(PostMaxSize) || $php{PostMaxSize} || "20M"; $OUT .= "$ms"; } -auto_prepend_file = +auto_prepend_file = { + my $appf = $phpcur->prop(AutoPrependFile) || $php{AutoPrependFile} || "enabled"; + $appf = ( "$appf" eq "enabled" ) ? "/usr/share/php/auth_translation.php" : ""; + $OUT .= "$appf"; +} auto_append_file = default_mimetype = "text/html" default_charset = "UTF-8" diff -Nur smeserver-php-3.0.0.old/root/usr/share/php/auth_translation.php smeserver-php-3.0.0/root/usr/share/php/auth_translation.php --- smeserver-php-3.0.0.old/root/usr/share/php/auth_translation.php 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/usr/share/php/auth_translation.php 2020-03-24 22:56:30.995000000 -0400 @@ -0,0 +1,13 @@ +