Cgi Perl


I’m trying to use cgi on my site but it doesn’t appear to work. For example, this is not working…

use strict;
use CGI “:all”;
print header(), start_html(), “Hello World”, end_html();

What could be wrong?


You probably forgot to set permissions so that the file is executable, try chmod 755. Parent directory should also be 755.

:cool: Perl / MySQL / HTML+CSS