Going Crazy.
Have got my Apache server running under Sierra; however, none of my cgi scripts works. In desperation I wrote a simple Hello World script but even that doesn't work; the script shows up as text in the browser instead of executing. Here is the script.
#!/usr/bin/perl # hello.pl -- a simple perl script! print "Content-type: text/html\n\n"; print "Hello, world!\n";
Permissions on the directory/script are correct rwxr-xr-x with "me" as owner and group as "staff".
This worked using El Capitan. Hopefully there is someone out there on a Mac with a solution/suggestion.
Will be off line for the next 15 hours; not ignoring any help. Thanks.
In reply to perl cgi on Sierra by RobertJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |