diff -urN smeserver-dl-0.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl --- smeserver-dl-0.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2022-07-21 16:05:14.594052821 +0300 +++ smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2022-07-21 16:08:57.238908941 +0300 @@ -1,6 +1,6 @@ { my $access = $dl{'access'} || 'private'; -my $allow = ($access eq 'public')?'all':"$localAccess $externalSSLAccess"; +my $allow = ($access eq 'public')?'all granted':"ip $localAccess $externalSSLAccess"; my $authtype = $dl{'Authentication'} || 'http'; my $alias = (($dl{'AliasOnPrimary'} || 'enabled') eq 'enabled') ? 'Alias /dl /usr/share/dl' : ''; @@ -61,16 +61,14 @@ AllowOverride Limit $php - order deny,allow - deny from all - allow from $allow + Require $allow $auth - Deny from all + Require all denied - Deny from all + Require all denied END }