diff -Nur --no-dereference smeserver-phpsysinfo-3.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias smeserver-phpsysinfo-3.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias
--- smeserver-phpsysinfo-3.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias 2022-07-24 00:25:03.153000000 -0400
+++ smeserver-phpsysinfo-3.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias 2022-07-24 00:33:44.744000000 -0400
@@ -4,32 +4,30 @@
SSLRequireSSL
Options -Indexes
- AllowOverride None
- order deny,allow
- deny from all
-{
-my $access = ($phpsysinfo{'access'} || 'private');
-if ("$access" eq "private")
- {
- $OUT .= " allow from $localAccess $externalSSLAccess";
- }
- elsif ("$access" eq "public")
- {
- $OUT .= " allow from all";
- }
-}
AuthName "phpSysInfo"
AuthBasicProvider external
AuthType Basic
AuthExternal pwauth
- require user admin
- Satisfy all
+
+
+ AllowOverride None
+ order deny,allow
+ deny from all
+ allow from {(($phpsysinfo{access} || 'private' ) eq "public" ) ? "all": "$localAccess $externalSSLAccess";}
+ Require user admin
+ Satisfy all
+
+
+
+ Require user admin
+ Require {(($phpmyadmin{access} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess $externalSSLAccess";}
+
+
+
AddType application/x-httpd-php .php .php3
-
+
SetHandler "proxy:unix:/var/run/php-fpm/php.sock|fcgi://localhost"
-
+
- #php_flag magic_quotes_gpc on
- #php_flag track_vars on
diff -Nur --no-dereference smeserver-phpsysinfo-3.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias smeserver-phpsysinfo-3.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias
--- smeserver-phpsysinfo-3.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias 2022-07-31 23:28:58.214000000 -0400
+++ smeserver-phpsysinfo-3.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpsysinfoAlias 2022-07-31 23:30:57.243000000 -0400
@@ -9,20 +9,10 @@
AuthType Basic
AuthExternal pwauth
-
- AllowOverride None
- order deny,allow
- deny from all
- allow from {(($phpsysinfo{access} || 'private' ) eq "public" ) ? "all": "$localAccess $externalSSLAccess";}
- Require user admin
- Satisfy all
-
-
-
+
Require user admin
Require {(($phpmyadmin{access} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess $externalSSLAccess";}
-
-
+
AddType application/x-httpd-php .php .php3