Not every Apache returns the version number in the header.

This commit is contained in:
Andrew McMillan 2010-03-31 13:51:25 +13:00
parent da4ef89032
commit ac2faa8b9a

View File

@ -9,7 +9,7 @@ use strict;
while( <STDIN> ) { while( <STDIN> ) {
/^Server: Apache\/[0-9.]+/ && do { /^Server: Apache(\/[0-9.]+)?/ && do {
$_ = ""; $_ = "";
}; };