On Sun, Nov 18, 2001 at 10:50:53PM +0700, hero wrote: > Colin Watson ([EMAIL PROTECTED]) wrote: > > ######### test.pl > > !#/usr/bin/perl -w > > sorry i type wrong this is my test.pl > > #!/usr/bin/perl -w > > print "Content-type: text/html\n\n"; > print "<h2>Test cgi</h2>\n";
Can you execute that file normally? For instance, make sure it has the executable bit set. The error from the web server is just saying that the script's output ended before the \n\n (or \r\n\r\n) that terminates the headers. -- Colin Watson [EMAIL PROTECTED]

