Results 1 to 1 of 1
I have cgi file helloworld.cgi in /usr/local/apache2/htdocs folder:
#!/usr/bin/perl
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
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-30-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 3
How to run cgi file in localhost (fedora core 7)
I have cgi file helloworld.cgi in /usr/local/apache2/htdocs folder:
#!/usr/bin/perl
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.


Reply With Quote
