J
Jake Gourd
hey,
Im trying to make a cgi script work on host europe server, as far as i
know the snedmail path is correct and cgi is running correctly (a
simple print works). When I run the code below it just says
The server encountered an internal error or misconfiguration and was
unable to complete your request
on the screen, you can see this by visiting the url
http://www.goodprint.co.uk/cgi_bin/test.cgi
Please help im going mad !
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, world!\n";
open(SENDMAIL, "/usr/sbin/sendmail") or die "Cannot open $sendmail:
$!";
print SENDMAIL "(e-mail address removed)";
print SENDMAIL "test subject";
print SENDMAIL "(e-mail address removed)";
print SENDMAIL "Content-type: text/plain\n\n";
print SENDMAIL "The content";
close(SENDMAIL);
Im trying to make a cgi script work on host europe server, as far as i
know the snedmail path is correct and cgi is running correctly (a
simple print works). When I run the code below it just says
The server encountered an internal error or misconfiguration and was
unable to complete your request
on the screen, you can see this by visiting the url
http://www.goodprint.co.uk/cgi_bin/test.cgi
Please help im going mad !
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, world!\n";
open(SENDMAIL, "/usr/sbin/sendmail") or die "Cannot open $sendmail:
$!";
print SENDMAIL "(e-mail address removed)";
print SENDMAIL "test subject";
print SENDMAIL "(e-mail address removed)";
print SENDMAIL "Content-type: text/plain\n\n";
print SENDMAIL "The content";
close(SENDMAIL);