Stephan: fehlersuche

Beitrag lesen

Hallo,

mein CGI-Script sieht so aus:

#!/usr/bin/perl

open(FILE,">http://192.168.0.99/mail-cgi/test.html") die $!;
print FILE "Content-type: text/html\n\n";
print FILE "<html>\n";
print FILE "<head>\n";
print FILE "</head>\n";
print FILE "<body>\n";
print FILE "HTML-Datei\n";
print FILE "</body>\n";
print FILE "</html>\n";
close(FILE);

wenn ich das jetzt über den IE aufrufe, bekomme ich die Fehlermeldung 500 Internal Server Error
das verzeichnis mail-cgi ist chmod 777 und das script ist chmod 755
der besitzer ist der gleiche

woran könnte das liegen?

Stephan