diff --git a/lib/Alternc/Diagnostic/Service/Apache2.php b/lib/Alternc/Diagnostic/Service/Apache2.php index 41710783..d40eec43 100644 --- a/lib/Alternc/Diagnostic/Service/Apache2.php +++ b/lib/Alternc/Diagnostic/Service/Apache2.php @@ -32,7 +32,7 @@ class Alternc_Diagnostic_Service_Apache2 } function getVhosts(){ - $list = $this->filterRegexp( $this->execCmd("apache2ctl -S"), "/^[\D]*(\d{2,4}).* (.*) \(\/etc.*$/u"); + $list = $this->filterRegexp( $this->execCmd("apache2ctl -S"), "/^[\D]*(\d{2,4}).* (.*) \(\/.*$/u"); $returnArray = array(); foreach( $list as $vhost){ $returnArray[] = explode(" ",$vhost);