Hallo,
Ik heb het volgende perl scriptje (contact1.pl) dat ik niet werkend krijg:
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "hello world";
de foutmelding in de error_log file
[Sat Mar 27 15:51:42 2004] [error] [client 80.127.75.xx] Premature end
of script headers: contact1.pl, referer: http://www.xyz.nl/contact.html
[Sat Mar 27 15:51:42 2004] [error] [client 80.127.75.xx] failed to
open log file /var/log/httpd/suexec_log, referer:
http://www.xyz.nl/contact.html
Wat heb ik gedaan:
1. contact1.pl met notepad op een windows pc aangemaakt
2. contact1.pl als ascii file met ftp naar de server gezet
3. met chmod de permissie op 755 gezet
4. shebang line gecontroleerd bij de provider
5. in contact.html een formuliergemaakt met als actie:
<form method=POST action="/cgi-bin/contact1.pl">
Vraag: wat gaat er verkeerd
Vraag: wat is de suexec_log?
mvg,
Hans
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.644 / Virus Database: 412 - Release Date: 26-3-2004

Likes:

Quote