hi,
i'm trying to test my cgi script a simple one
but i don't seem to be able to run this script from cpan
[CODE=perl]
#!/perl/bin/perl
use strict;
$q = new CGI; # create new CGI object
print $q->header, # create the HTTP header
$q->start_html('he llo world'), # start the HTML
$q->h1('hello world'), # level 1 header
$q->end_html; # end the HTML
[/CODE]
i got a 500 internal server error
and in my error logs i got:
C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/1.cgi is not executable; ensure interpreted scripts have "#!" first line
(9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/1.cgi
pls help?
i'm trying to test my cgi script a simple one
but i don't seem to be able to run this script from cpan
[CODE=perl]
#!/perl/bin/perl
use strict;
$q = new CGI; # create new CGI object
print $q->header, # create the HTTP header
$q->start_html('he llo world'), # start the HTML
$q->h1('hello world'), # level 1 header
$q->end_html; # end the HTML
[/CODE]
i got a 500 internal server error
and in my error logs i got:
C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/1.cgi is not executable; ensure interpreted scripts have "#!" first line
(9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/1.cgi
pls help?
Comment