Index: includes/bootstrap.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v retrieving revision 1.229 diff -u -p -r1.229 bootstrap.inc --- includes/bootstrap.inc 6 Oct 2008 14:26:54 -0000 1.229 +++ includes/bootstrap.inc 7 Oct 2008 23:37:34 -0000 @@ -313,7 +313,10 @@ function drupal_initialize_variables() { if (!isset($_SERVER['HTTP_REFERER'])) { $_SERVER['HTTP_REFERER'] = ''; } - if (!isset($_SERVER['SERVER_PROTOCOL']) || ($_SERVER['SERVER_PROTOCOL'] != 'HTTP/1.0' && $_SERVER['SERVER_PROTOCOL'] != 'HTTP/1.1')) { + if (strpos(php_sapi_name(), 'cgi') !== FALSE) { + $_SERVER['SERVER_PROTOCOL'] = 'Status:'; + } + elseif (!isset($_SERVER['SERVER_PROTOCOL']) || ($_SERVER['SERVER_PROTOCOL'] != 'HTTP/1.0' && $_SERVER['SERVER_PROTOCOL'] != 'HTTP/1.1')) { $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.0'; } }