when I tried to view my cgi test web site on the browser, it said: HTTP 500 - Internal server error
here is the story in more detail...>>
I have FreeBSD with IP of 10.0.0.1/8 and Apache2 installed on.
this is my 1st try to do some works on CGI.
here is what i did:-
1- i put my simple CGI script in /usr/local/apache/cgi-bin
2- then i run apache2
3- then i went to my workstation which is in the same LAN and i typed the following:-
4- then this message appeared:-
HTTP 500 - Internal server error
here is my CGI code:-
NOTE: i didnt do any configuration to httpd.conf
print "Content-type: text/html\n\n";
print "Hello, world!\n";
this is my first CGI and I dont know whether if I have to configure httpd.conf or not, please tell me what should I do
waiting for answers..