Commit 0a66ed3c authored by Nigel Kukard's avatar Nigel Kukard

Ignore system vhost configurations default and default-ssl

parent 7f3a095f
......@@ -29,7 +29,7 @@ use warnings;
use List::MoreUtils qw( any none );
our $VERSION = '1.00';
our $VERSION = '1.01';
BEGIN {
......@@ -214,6 +214,9 @@ sub webserverCheckApache
foreach my $vhostName (keys %{$vhostConfig}) {
my $vhost = $vhostConfig->{$vhostName};
# Skip over system configurations
next if ($vhost =~ /default(|-ssl)/);
$self->logger("INFO","APACHE: Processing vhost '%s'",$vhostName);
# Open config file
if (open(my $FH,'<',$vhost->{'config'})) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment