View Full Version : [ubuntu] perl script

April 1st, 2009, 02:15 PM

Iam new to apache web server and perl. Iam trying to run a simple cgi script from my browser but instead of executing the script the browser is asking me to save as.

This is my simple script:

print "content-type: text/html\n\n";
print "Hello\n";

This script works fine in the terminal;

Please help;

April 1st, 2009, 05:22 PM
Sounds like you have not setup your apache config to run cgi scripts correctly.