I'm trying to run simple PERL CGI script.
#C:\Perl-bin\perl
print "Content-type: text/html\r\n\r\n";
print "Hello, World.";
Then I'm writing in browser This example is in documentation.
But it gives me Server Error:
[error] [client 127.0.0.1] Premature end of script headers: c:/program files/apache group/apache/cgi-bin/pt1.pl
[Thu Nov 29 14:30:05 2001] [error] [client 127.0.0.1] File does not exist: c:/program files/apache group/apache/htdocs/client/ate/ad-handler/0,,clspl_ca,00.htm
[Thu Nov 29 14:31:05 2001] [error] [client 127.0.0.1] File does not exist: c:/program files/apache group/apache/htdocs/client/ate/ad-handler/0,,
etc.
What does it mean? Thanks
#C:\Perl-bin\perl
print "Content-type: text/html\r\n\r\n";
print "Hello, World.";
Then I'm writing in browser This example is in documentation.
But it gives me Server Error:
[error] [client 127.0.0.1] Premature end of script headers: c:/program files/apache group/apache/cgi-bin/pt1.pl
[Thu Nov 29 14:30:05 2001] [error] [client 127.0.0.1] File does not exist: c:/program files/apache group/apache/htdocs/client/ate/ad-handler/0,,clspl_ca,00.htm
[Thu Nov 29 14:31:05 2001] [error] [client 127.0.0.1] File does not exist: c:/program files/apache group/apache/htdocs/client/ate/ad-handler/0,,
etc.
What does it mean? Thanks