Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/12/2008, 10:22
Avatar de NaRanJiTo78
NaRanJiTo78
 
Fecha de Ingreso: noviembre-2007
Ubicación: In the BeaCh
Mensajes: 874
Antigüedad: 17 años, 3 meses
Puntos: 10
Exclamación Problema con NMS FormMail

Hola!

Tengo una web en un servidor apache con sistema operativo instalado Linux RedHat 6.2.

Al acceder a mi FTP para volcar archivos, me da acceso a 3 carpetas: "data","html" y logs".

Para instalar NMS FormMmail o alguno parecido, se que hay que instalarlo en la carpeta cgi-bin.

Pero no existe, por lo que la he creado dentro de "html" y he metido alli NMS FormMail.pl, y he metido, tanto dentro de cgi-bin y fuera de el (en "html") un .htaccess con el siguientre código, como me ponía en las instrucciones para poner un CGI:

Cita:
Options ExecCGI
He modificado las líneas oportunas de configuración de varibles de dicho script:

Cita:
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 1;
$mailprog = 'SMTP:midominio.com';
$postmaster = '[email protected]';
@referers = qw(midominio.com localhost);
@allow_mail_to = qw([email protected]);
@recipients = ('midominio.com','[email protected]');
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = 'ES';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '/css/nms.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$address_style = 0;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: [email protected]
Subject: Formulario

Thank you for your form submission.

END_OF_CONFIRMATION
El caso que cuando pruebo el formulario y le doy a enviar, me da el siguiente error:

Cita:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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/2.0.59-CHS-1 (Unix) Server at dominio.com Port 80
Que es lo que he hecho mal?

Muchas gracias