I am currently in a Perl&CGI class at school and I am in need to run these scripts via Apache on my Macbook. I went through the following tutorials by O'Reilly,
Part 1 ,
Part 2. Now when I write a simple cgi script:
Code:
#!/usr/bin/perl
print "Content-type: text/plain\n\nHet werkt!\n";
*Not all one line*
Then change it's permissions via terminal "chmod 755." I then go to my Macbooks URL and locate the file it just prints out the code. It should display "het werkt!" I am completely stumped as to what I am doing wrong. Everything seems to be connecting ok.
Any help would be greatly appreciated. Thanks in advance!