Euphoria CGI
- Posted by fines at macalester.edu Jan 27, 2001
- 691 views
I am diving into the world of Euphoria CGI on RedHat 7.0/Apache 1.3.14. I have a small program that I need to have run the "system_exec" function, as I need it to execute an external program then continue, based on the resulting exit code, eg: exit_code=system_exec("ls -l",2) Yes, I've actually dumbed it down this much, just trying to run the little ol' ls command. I can't get it to run as a CGI script! If I run it manually, it runs fine. So I figure it has something to do with the permissions on the file--as in, the user ('nobody') that Apache runs as can't run the program. I've checked the permissions. 'nobody' owns the Euphoria script and the external program to be run, and has rwx permissions. So what could the problem be? I'm new to CGI programming on Apache, so any help would be greatly appreciated. I'm stuck! Thanks. ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01