1) I have a perl script that will run successfully from the command line. 2) How to I run this script from within the <%init> section of a Mason file?
This doesn't work:
<%init>
system "/path/to/file/on/server/file.cgi;
</%init>
Thanks!
physics
4:47 pm on May 22, 2006 (gmt 0)
I'm not sure how to fix your problem but this forum is a better place for it. One thing is that a " is missing before the ; right? Also, check the permissions on the cgi file and make sure that apache has permissions to execute it... try chmod 777 for testing.