ERROR CGI
la aplicacion CGI especificada puede comportarse de forma anormal si no recibe un conjunto de encabezados HTTP. los encabezados retornados son:  
 Código PHP:
    <?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");                     // Expira en fecha pasada
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");        // Siempre página modificada
header("Cache-Control: no-cache, must-revalidate");                   // HTTP/1.1
header("Pragma: no-cache");                                           // HTTP/1.0
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Formulario Acceso Beneficiarios</title>
<script language="javascript">
<!--
function LP_data(){
var key=window.event.keyCode;//codigo de tecla.
if (key < 48 || key > 57){//si no es numero
window.event.keyCode=0;//anula la entrada de texto.
}}
-->
</script>
<style type="text/css">
<!--
body {
        margin-top: 0px;
        background-color: #ffffff;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
}
.Estilo2 { color:ff0000;
        font-size:small;
        font-family: Arial, Helvetica, sans-serif;
}
.Estilo4 {font-size: small; font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
-->
</style></head>
 
<body><center>
<table width="523" height="308" border="0" bgcolor="ffffff">
    <tr>
      <td width="513" height="268" >
        <table width="507" border="0">
            <tr>
              <td width="497" height="127>
                <form action="res_n.php" method="GET">
        <table width="352" height="92" border="0" cellpadding="2" cellspacing="2" background="images/fondoindex.jpg" >
        <tr>
          <td width="104" height="45"valign="bottom"><div align="right"><span class="Estilo2"> Rut:
            </span></div></td>
          <td width="234" align="left"valign="bottom"><span class="Estilo2">
            <input type="text" name="env_rut" onKeyPress="LP_data()"size="9"  maxlength="8" >
          </span>-
            <input type="text" name="env_dig"size="1"  maxlength="1" >
            <span class="Estilo2">( sin punto) </span></td>
          </tr>
        <tr>
          <td height="41"> </td>
          <td align="left" valign="middle"><input type="submit" name="acceder" value="acceder"style=cursor:hand></td>
          </tr>
      </table> <p align="left"><input type="button" value="Cerrar" onclick="window.close()"style=cursor:hand></p>
 
                </form>
 
             </td>
            </tr>
 
        </table>
      </div>
    </tr>
</table>
</div>
</body>
</html>   
  deberia quitarle los header???