global129
asked on
Permission prob running from within perl
I am attempting to run a proram from within a perl script.
using a system call...ie. system("/path/path/path/cg i-bin/hitl og/ax.cgi" );
but I keep getting a
FORBIDDEN you do not have access to cgi-bin/hitlog/ax.cgi
error, even though everthing works fine if run directly.
using a system call...ie. system("/path/path/path/cg
but I keep getting a
FORBIDDEN you do not have access to cgi-bin/hitlog/ax.cgi
error, even though everthing works fine if run directly.
By directly do you mean you can run it from the prompt? Make sure that you have access for all the paths leading up to the script you want it run. nobody needs to be able to run it
ASKER
By running directly, i mean that i can run the cgi, by typing the path
i.e. http://www.whatever.com/path/path/cgi-bin/program.cgi
I can even call it from an html page ie.
<!--/path/path/cgi-bin/pro gram.cgi-- >
but from within a script??...no can do!
i.e. http://www.whatever.com/path/path/cgi-bin/program.cgi
I can even call it from an html page ie.
<!--/path/path/cgi-bin/pro
but from within a script??...no can do!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.