--- rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin-4.0.10.2-bz12056-httpd24.patch 2022/07/24 04:20:03 1.2 +++ rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin-4.0.10.2-bz12056-httpd24.patch 2022/08/01 03:25:02 1.3 @@ -115,3 +115,83 @@ diff -Nur --no-dereference smeserver-php ); } +diff -Nur --no-dereference smeserver-phpmyadmin-4.0.10.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias smeserver-phpmyadmin-4.0.10.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias +--- smeserver-phpmyadmin-4.0.10.2.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias 2022-07-31 23:18:04.267000000 -0400 ++++ smeserver-phpmyadmin-4.0.10.2/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias 2022-07-31 23:22:01.899000000 -0400 +@@ -44,21 +44,11 @@ + SSLRequireSSL + Options -Indexes + AllowOverride None +- +- order deny,allow +- deny from all +- ); +- $OUT .= (($phpmyadmin{access} || 'private' ) eq "public" ) ? " allow from all": " allow from $localAccess $externalSSLAccess"; +- $OUT .= qq( +- Satisfy all +- +- +- ++ + ); + $OUT .= (($phpmyadmin{access} || 'private' ) eq "public" ) ? " Require all granted": " Require ip $localAccess $externalSSLAccess"; + $OUT .= qq( +- +- ++ + ); + + # we do not want people to mess with this for the moment +@@ -77,48 +67,20 @@ + # phpMyAdmin upstream tarball + # + +- +- Order Deny,Allow +- Deny from All +- Allow from None +- +- +- Require all denied +- ++ Require all denied + + + + +- +- Order Deny,Allow +- Deny from All +- Allow from None +- +- +- Require all denied +- ++ Require all denied + + + +- +- Order Deny,Allow +- Deny from All +- Allow from None +- +- +- Require all denied +- ++ Require all denied + + + +- +- Order Deny,Allow +- Deny from All +- Allow from None +- +- +- Require all denied +- ++ Require all denied + ); + + }