diff --git a/ssl/alternc-ssl.install.php b/ssl/alternc-ssl.install.php index b8c84dc4..1aa88112 100644 --- a/ssl/alternc-ssl.install.php +++ b/ssl/alternc-ssl.install.php @@ -68,7 +68,7 @@ if ($argv[1] == "before-reload") { } else { $found = false; while ($s = fgets($f, 1024)) { - if (preg_match(":[^#]*NameVirtualHost.*443:", $s)) { + if (preg_match(":^[^#]*NameVirtualHost.*443:", $s)) { $found = true; break; }