Simple Problem (I think)
I barely know nothing about apache and wanted to get the following cgi
script to run
Content-type: text/html
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, World.";
I put it in CGI-bin and when I type the adress in I get the 500
Internal Sever Error. The error log gives the following
C:/OpenSA/Apache2/cgi-bin/test.cgi
[Wed Sep 27 18:38:26 2006] [error] [client 192.168.2.82]
C:/OpenSA/Apache2/cgi-bin/test.cgi is not executable; ensure
interpreted scripts have "#!" first line
[Wed Sep 27 18:38:27 2006] [error] [client 192.168.2.82] (9)Bad file
descriptor: don't know how to spawn child process:
C:/OpenSA/Apache2/cgi-bin/test.cgi
>From what I gather it could be a permission thing. Where do I type in
permissions.
Please Me,
Ben Pazolli
|