diff -urN smeserver-egroupware-1.8.6.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98egroupware smeserver-egroupware-1.8.6/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98egroupware --- smeserver-egroupware-1.8.6.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98egroupware 2022-07-25 14:38:36.572385592 +0300 +++ smeserver-egroupware-1.8.6/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98egroupware 2022-07-25 14:42:41.363088279 +0300 @@ -23,14 +23,13 @@ AddType text/xml .xml Options FollowSymLinks ExecCGI AllowOverride None - Order allow,deny { my $egw = $egroupware{'PublicAccess'} || "local"; if ($egw eq "local") { - $OUT .= " allow from $localAccess"; + $OUT .= " Require ip $localAccess"; } else { - $OUT .= " allow from all"; + $OUT .= " Require all granted"; } } DirectoryIndex index.html index.php @@ -58,8 +57,7 @@ php_value upload_max_filesize 65M php_value max_input_vars 3000 - Order allow,deny - Deny from all + Require all denied @@ -77,28 +75,26 @@ Script PUT /opt/egroupware/html/icalsrv.php AddHandler ical/ics .ics Action ical/ics /opt/egroupware/html/icalsrv.php - Order allow,deny { my $egw = $egroupware{'PublicAccess'} || "local"; if ($egw eq "local") { - $OUT .= " allow from $localAccess"; + $OUT .= " Require ip $localAccess"; } else { - $OUT .= " allow from all"; + $OUT .= " Require all granted"; } } php_value mbstring.func_overload 0 - Order allow,deny { my $egw = $egroupware{'PublicAccess'} || "local"; if ($egw eq "local") { - $OUT .= " allow from $localAccess"; + $OUT .= " Require ip $localAccess"; } else { - $OUT .= " allow from all"; + $OUT .= " Require all granted"; } }