--- awstats.pl.orig Tue Nov 2 09:49:33 2004 +++ awstats.pl Tue Nov 2 09:45:13 2004 @@ -4857,6 +4857,12 @@ $pos_url = $i; $i++; push @fieldlib, 'url'; $PerlParsingFormat .= "\\\"([^$LogSeparatorWithoutStar]+) ([^$LogSeparatorWithoutStar]+) [^\\\"]+\\\""; } + elsif ($f =~ /%methodvirtualurl$/) { + $pos_method = $i; $i++; push @fieldlib, 'method'; + $pos_vh = $i; $i++; push @fieldlib, 'vhost'; + $pos_url = $i; $i++; push @fieldlib, 'url'; + $PerlParsingFormat .= "\\\"([^$LogSeparatorWithoutStar]+) http://([^/]+)([^$LogSeparatorWithoutStar]+) [^\\\"]+\\\""; + } elsif ($f =~ /%methodurlnoprot$/) { $pos_method = $i; $i++; push @fieldlib, 'method'; $pos_url = $i; $i++; push @fieldlib, 'url';