DarthCoder,
Quote:
CAN SOMEONE WHO got this mod work paste their complete apache config to me? because it gives error on all .html pages for me when I enable the mod. I am sure its the apache settings that failed.
|
"vBSEO Sitemap Generator" does not create html pages. Perhaps you have confused it with "vBSEO" mod, and in this case you should look for support at
www.vbseo.com .
geevest.com,
Quote:
i dont know why PING GOOGLE AND YAHOO always failed.
|
Please try to modify vbseo_sitemap_functions.php file:
FIND:
PHP Code:
function vbseo_query_http($url)
{
..
}
and REPLACE WITH:
PHP Code:
function vbseo_query_http($url)
{
ini_set('default_socket_timeout', 5);
$purl = parse_url($url);
$connsocket = @fsockopen($purl['host'], 80, $errno, $errstr, 5);
$start = 0;
$timeout = 50;
while($start < $timeout)
{
$start++;
if ($connsocket)
{
$out = "GET ".$purl['path']."?".$purl['query']." HTTP/1.1\n";
$out .= "Host: ".$purl['host']."\n";
$out .= "Referer: http://".$purl['host']."/\n";
$out .= "Connection: Close\n\n";
$inp = '';
@fwrite($connsocket, $out);
while (!feof($connsocket)) {
$inp .= @fread($connsocket, 4096);
}
@fclose($connsocket);
break;
}
}
preg_match("#^(.*?)\r?\n\r?\n(.*)$#s",$inp,$hm);
return $hm[2];
}