RE: [PHP-ES] problema de config .htaccess

From: Date: Mon, 30 Oct 2000 13:48:04 +0000
Subject: RE: [PHP-ES] problema de config .htaccess
Groups: php.general.es 
Request: Send a blank email to general-es+get-2878@lists.php.net to get a copy of this message
te fijaste en el log de apache que esta /logs ahi te va ha decir el error puntualmente -----Mensaje original----- De: Ricardo Vega [mailto:enrivega@entelchile.net] Enviado el: Domingo, 29 de Octubre de 2000 03:08 p.m. Para: lista@phpes.com Asunto: [PHP-ES] problema de config .htaccess tengo el sigte problema, hice un form y en el action le puse mail.php, que es el sigte: "#!/usr/local/bin/php <?php while (list($key,$value) = each ($HTTP_POST_VARS)) { $message.=$key."=".$value."\n"; } if (!empty($email)) { mail ($to,$subject,$message,"From: $email"); } else { mail ($to,$subject,$message); } Header("Location: $redirect\n"); ?> y en el form puse los sigtes hidden: <input type=hidden name=to value="enrivega@entelchile.net"> <input type=hidden name=subject value="Desde Sitio Grupo 3D"> <input type=hidden name=redirect value="gracias.html"> en el servidor me dijeron que para que funcionara tenia que crear el archivo .htaccess y dentro del poner el siguiente mensaje php_track_vars on ¿ como hago para crear ese archivo?, ayuda porfa, al presionar el boton enviar del form, sale el siguiente mensaje: Warning: Variable passed to each() is not an array or object in /web/disk1/virtual/grupo3d.cl/htdocs/cgi-bin/mail.php on line 4 , los mail me llegan vacios, despues de haber creado el .htaccess, ya no me llegan mail y ademas me sale el sigte error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, www and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ---------------------------------------------------------------------------- ---- Apache/1.3.11 Server at www.grupo3d.cl Port 80, ayuda porfa, gracias de antemano Quique el sitio es www.grupo3d.cl/contactoframe.htm <http://www.grupo3d.cl/contactoframe.htm>

« previous php.general.es (#2878) next »