Hallo,
Ich versuche krampfhaft das wwwbord richtig zu konfigurieren. Folgende Angaben zum Beginn:
NT-Server
Variablen im Perl-Script:
$basedir = "d:\user\sac-baselland\cgi-bin";
$baseurl = "http://www.sac-baselland.ch/cgi-bin";
$cgi_url = "http://www.sac-baselland.ch/cgi-bin/wwwboard.pl";
$backgroundfile = "http://www.sac-baselland.ch/back03.jpg";
$mesgdir = "messages";
$datafile = "data.txt";
$mesgfile = "wwwboard.html";
$faqfile = "faq.html";
$ext = "html";
$title = "WWWBoard";
Folgende Fehlermeldung bekomme ich wenn ich den Script aufführen möchte:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
No such file or directory at D:\User\sac-baselland\cgi-bin\wwwboard.pl line 157.
Die Zeile 157 in der Datei wwwboard.pl sieht so aus:
sub new_file {
open(NEWFILE,">$basedir\$mesgdir\$num\.$ext") die $!;
Kann mir jemand da weiterhelfen, was ich in dieser Zeile anpassen muss, damit es dann funktioniert ??
Danke
Tobias