Hola, estoy montando un FormMail en un servidor, pero no se me ejecuta, me da un error de:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
He mirado el log del servidor y me dice esto
Fri Apr 29 13:14:32 2005] [error] [client xxx.xxx.xxx.xxx] failed to open log file /var/log/httpd/suexec_log, referer: http://www.calldebarcelona.org/ctext.html
[Fri Apr 29 13:14:32 2005] [error] [client xxx.xxx.xxx.xxx] fopen: Permission denied, referer: http://www.midominio.org/ctext.html
[Fri Apr 29 13:14:32 2005] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: formmail.pl, referer: http://www.midominio.org/ctext.html
Puede ser que le tenga que dar permisos al suexec_log?
Este archivo es de sistema, no? no seria mu peligroso darle mas permisos de lo normal?
El archivo formmail.pl tiene permisos 755 (estoy bajo Linux, se me olvidaba)
He preguntado en el foro de CGI Perl y al parecer el fallo es un misterio, le he pasado la configuracion del apache para ver si puede estar aqui el fallo, pero me a remitido a este foro.
Aqui adjunto el doc:
ServerName calldebarcelona.org:80
ServerAlias www.calldebarcelona.org
UseCanonicalName Off
SuexecUserGroup callde psacln
ServerAdmin "[email protected]"
DocumentRoot /home/httpd/vhosts/calldebarcelona.org/httpdocs
CustomLog /home/httpd/vhosts/calldebarcelona.org/statistics/logs/access_log combined
ErrorLog /home/httpd/vhosts/calldebarcelona.org/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /home/httpd/vhosts/calldebarcelona.org/web_users
</IfModule>
ScriptAlias /cgi-bin/ /home/httpd/vhosts/calldebarcelona.org/cgi-bin/
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /home/httpd/vhosts/calldebarcelona.org/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_perl.c>
<Files ~ (\.asp$)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/calldebarcelona.org/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
Options +Includes +ExecCGI
</Directory>
<Directory /home/httpd/vhosts/calldebarcelona.org/web_users>
<IfModule sapi_apache2.c>
AddType text/plain .php .php4 .php3 .phtml
php_admin_flag engine off
</IfModule>
</Directory>
<Directory "/home/httpd/vhosts/calldebarcelona.org/httpdocs/plesk-stat">
AuthType Basic
AuthName "EstadÃ*sticas de Dominio"
AuthUserFile /home/httpd/vhosts/calldebarcelona.org/pd/d..plesk-stat
require valid-user
</Directory>
Alias "/error_docs" "/home/httpd/vhosts/calldebarcelona.org/error_docs"
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
Si quereis seguir la conversacion del foro de CGI, aqui esta el link
http://www.forosdelweb.com/showthrea...71#post1073371
Espero que me podais ayudar, gracias por todo