I have cgi file helloworld.cgi in /usr/local/apache2/htdocs folder:
print "Content-type: text/html", "\n\n"; # MIME header.
print "Hello World";
I want to run this script on firefox with address: http://localhost/helloworld.cgi
But i didn't how to configure apache to run it. Please help me to solve this problem.