Under an old Apache server on a SunBlade 1500 system running Solaris 10, I have written Perl cgi programs that in turn call Fortran programs via a system command. These programs work under an old (circa 2000) Apache server.
I would like to upgrade to Apache 2 (provided as part of the Solaris 10 distribution). When I run the same Perl cgi programs under the Apache 2 server (as opposed to the old Apache server), the Perl portions of the cgi programs work. Also they can successfully run, for example,
but under the Apache 2 server, the Perl cgi programs produce no output from, for example,@proglist = ("echo","hello, world!<br>"); system(@proglist);
where tolerance.test is a Fortran executable in the cgi directory and the other values are inputs to the Fortran program.@proglist = ("tolerance.test","$content","$conflev","$n"); system(@proglist);
The Fortran executable DOES produce output if I am running under the old Apache server.
I realize that it is possible that the problem lies with the two different httpd.conf files (for the Apache and Apache 2 servers) or with "permissions" or with something else. I haven't been able to identify the problem. Any suggestions?
An example of a working (under the old Apache server) web program with a link to the underlying Perl and Fortran code can be found at http://www1.fpl.fs.fed.us/conversion.html
In reply to cgi/perl/fortran web program by sverrill
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |