"Apache manual alias", "see" => $MYSITE . "mirroring-troubles.php#manual-redirect", "got" => $content, ); } $ctype = fetch_header($MYSITE . "manual/en/faq.html.php", "content-type"); if (strpos($ctype, "text/html") === false) { return array( "name" => "Header weirdness. Pages named '.html.php' are returning wrong status headers", "see" => $MYSITE . "mirroring-troubles.php#content-type", "got" => var_export($ctype, true), ); } $ctype = fetch_header($MYSITE . "functions", "content-type"); if (is_array($ctype)) { $ctype = current($ctype); } if (strpos($ctype, "text/html") === false) { return array( "name" => "MultiViews on", "see" => $MYSITE . "mirroring-troubles.php#multiviews", "got" => var_export($ctype, true), ); } $header = fetch_header($MYSITE . "manual/en/ref.var.php", 0); list($ver, $status, $msg) = explode(" ", $header, 3); if($status != 200) { return array( "name" => "Var Handler", "see" => $MYSITE . "mirroring-troubles.php#var", "got" => var_export($header, true), ); } return array( "servername" => $MYSITE, "version" => phpversion(), "updated" => $LAST_UPDATED, "sqlite" => $sqlite, "stats" => $mirror_stats, "language" => default_language(), "rsync" => $md5_ok, ); }