diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98awstats b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98awstats index c0eb88f..f46dee3 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98awstats +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98awstats @@ -9,7 +9,7 @@ if ($status ne 'enabled'){ $OUT .= "# AWStats is disabled\n"; } else{ - my $allow = ($status eq 'public') ? 'all':"$localAccess $externalSSLAccess"; + my $allow = ($access eq 'public') ? 'all':"$localAccess $externalSSLAccess"; $OUT .=<<"EOF"; Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"