Index: functions.php
===================================================================
--- functions.php	(revision 10988)
+++ functions.php	(working copy)
@@ -1473,7 +1473,12 @@
 	$protocol = $_SERVER["SERVER_PROTOCOL"];
 	if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
 		$protocol = 'HTTP/1.0';
-	$status_header = "$protocol $header $text";
+
+	if('cgi' == substr(strtolower(php_sapi_name()), 0, 3))
+		$status_header = "Status: $header $text";
+	else
+		$status_header = "$protocol $header $text";
+
 	if ( function_exists( 'apply_filters' ) )
 		$status_header = apply_filters( 'status_header', $status_header, $header, $text, $protocol );
 
