diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud smeserver-nextcloud-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud --- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2022-07-07 23:56:11.218000000 -0400 +++ smeserver-nextcloud-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2022-07-07 23:57:29.786000000 -0400 @@ -1,6 +1,6 @@ { my $access = $nextcloud{'access'} || 'private'; -my $allow = ($access eq 'public')?'all':"$localAccess $externalSSLAccess"; +my $allow = ($access eq 'public')?'all granted':"ip $localAccess $externalSSLAccess"; my $authtype = $nextcloud{'Authentication'} || 'none'; my $alias = (($nextcloud{'AliasOnPrimary'} || 'enabled') eq 'enabled') ? @@ -58,9 +58,7 @@ Options +FollowSymLinks AllowOverride All $php - order deny,allow - deny from all - allow from $allow + Require $allow $auth @@ -74,7 +72,7 @@ # just in case if .htaccess gets disabled - deny from all + Require all denied _EOF