I'm trying to run some simple CGI files in my browser. The code is as follows:
#!/usr/bin/perl -wT
use strict;
use warnings;
print "Content-type: text/html\n\n";
print "HTML, CGI & PERL Programming\n";
I've tried to use both Mozilla Firefox and Google Chrome as the browser. I've installed Apache2. The default page, Localhost works. I've placed the file in var/cgi-bin/ and changed modes with chmod 755.
This code has worked before in a virtualbox Ubuntu 32 bit. Now I'm using Ubuntu 64 bit.