[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i can't run cgi in user_dir



On Sun, Nov 18, 2001 at 10:50:53PM +0700, hero wrote:
> Colin Watson (cjwatson@debian.org) 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                                  [cjwatson@flatline.org.uk]



Reply to: