if (preg_match('/ErrorDocument\s+404/', $val)) {
                    ++$count['ErrorDocument 404'];
                    if (preg_match('/ErrorDocument\s+404\s+(.*)\s+$/', $val, $match)) {
                        $found['ErrorDocument 404'] = trim($match[1]);
                        if (trim($match[1]) == $goodUri) {