I am trying to set up my sistem to run cgi scripts I download apache web server when I test it if it running well it does, when I test my script with perl it is fine too.
When I try to run that script(cgi) file on the web server cause an error called INTERNAL ERROR and something about missconfiguration
my script is this:
#!usr/local/bin/perl
use CGI;
$query = new CGI;
print $query-> header;
print "<html><head><title>whatever</title><head> \n"
print "<body>It is working</body></html>"
----------------
I called it as my book recommend test.cgi and installed it in c:\apache\cgi-bin\test.cgi
when I looked it for at http:\localhost\test.cgi
cause the error which I already mentioned.
Please help me I am trying to learn cgi But I cannot even start....
When I try to run that script(cgi) file on the web server cause an error called INTERNAL ERROR and something about missconfiguration
my script is this:
#!usr/local/bin/perl
use CGI;
$query = new CGI;
print $query-> header;
print "<html><head><title>whatever</title><head> \n"
print "<body>It is working</body></html>"
----------------
I called it as my book recommend test.cgi and installed it in c:\apache\cgi-bin\test.cgi
when I looked it for at http:\localhost\test.cgi
cause the error which I already mentioned.
Please help me I am trying to learn cgi But I cannot even start....